-
Notifications
You must be signed in to change notification settings - Fork 144
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
Export differential module new and improved. #583
Export differential module new and improved. #583
Conversation
…ration into devel
ff0ac9a
to
fc99bab
Compare
fc99bab
to
92fec96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Initial testings works really well. Waiting on ansible/awx#13868 to let roles
to be more easily compared and treated!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would be nice if it didn't require the code to be in export format but it's a great start! hopefully we can get the export tool to clean up out it works
…onfiguration into export_diff
* update org export * update org export * rebase * add export diff * add export differential module --------- Co-authored-by: David Danielsson <djdanielsson@users.noreply.github.com>
* update org export * update org export * rebase * add export diff * add export differential module --------- Co-authored-by: David Danielsson <djdanielsson@users.noreply.github.com>
What does this PR do?
This PR Steals the awx.awx.export module, and parts of the lookup difference module and shoves them together.
It is built to be compatible with either the awx.awx or ansible.controller module.
It only works for the fields that work with the awx cli export, but instead of reducing fields, and comparing direct lists, it does a search and pop on wanted fields and keeps all the fields in place.
It's built to be robust and easy to add to. Though roles may be tricky still.
How should this be tested?
Automated tests included in PR
Is there a relevant Issue open for this?
redhat-cop/aap_configuration_extended#31
In addition when
ansible/awx#13868
Is acted on/improved, we can easily add fields.
Also teams on #468
Is dependent on tooling update to pass sanity tests:
redhat-cop/ansible_collections_tooling#22