You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. :-)
The text was updated successfully, but these errors were encountered:
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?
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. :-)
The text was updated successfully, but these errors were encountered: