Feature #31890
closedTracker #31404: Improve Ansible integration so it is usable as CfgMngmt tool
Consume the reports callback from the foreman ansible collection
Description
We need to start consuming the callback from our collection. To do that, we can simply install the rpm with the collection whenever smart_proxy_ansible is installed (package dependency) and configure callback_whitelist in ansible.cfg to use theforeman.foreman.foreman instead of foreman (from Ansible core)
These are the places that needs changing
https://github.com/theforeman/puppet-foreman_proxy/blob/7d3da00055c9f6af1b14eb5ff47028bf1222209a/templates/plugin/ansible.cfg.erb#L2
https://github.com/theforeman/foreman-packaging/blob/1621103be7073c5962b8d22c8303733d0ff60d8d/packages/plugins/rubygem-smart_proxy_ansible/rubygem-smart_proxy_ansible.spec#L49
https://github.com/theforeman/foreman-packaging/blob/2a144e46e0bb3f89d81f2c5e75c33dc56286a106/plugins/smart_proxy_ansible/control#L15
Updated by Marek Hulán over 3 years ago
- Related to Feature #31893: smart_proxy_ansible should use theforeman.foreman.foreman instead of foreman in callback_whitelist added
Updated by Marek Hulán over 3 years ago
- Related to Feature #31892: smart_proxy_ansible must depend on foreman ansible modules -- RPM added
Updated by Adam Ruzicka over 3 years ago
- Related to Bug #32020: Foreman callback is run always not just for roles added
Updated by Evgeni Golov over 3 years ago
- Related to Feature #32335: smart_proxy_ansible must depend on foreman ansible modules -- Debian added
Updated by Evgeni Golov over 3 years ago
@Marek debian packages are available, but not "used by default", as discussed earlier
Would you still think the debian part is done and close it out?
Updated by Ondřej Ezr almost 3 years ago
- Status changed from New to Resolved
I'd consider it best effort, we've pushed it quite far, didn't we?