Faster config setting
Opened this issue · 1 comments
It seems that the current way of setting occ config is not efficient as it calls occ config:*
for every single key. If technically possible within Ansible, it would be possible to do a bigger diff of settings.
Settings can be exported using occ config:list
as json for the facts. Then it could be diffed against a JSON representing the keys in question, but limit the diff to the "managed keys".
Then import the json using occ config:import
.
This is based on my very limited knowledge of Ansible and am not sure if this fits best practices. :-)
A good reason not to implement this would be because the information about changes in the system is less granular.
Perhaps we could implement a flag which optionally enables this?