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