Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster config setting #13

Open
PVince81 opened this issue Nov 29, 2019 · 1 comment
Open

Faster config setting #13

PVince81 opened this issue Nov 29, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@PVince81
Copy link

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. :-)

@enbrnz
Copy link
Contributor

enbrnz commented Oct 29, 2020

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?

@enbrnz enbrnz added the enhancement New feature or request label Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants