We plan to switch the default way to run ansible and deprecate the current one, as it seems to be more ansible user friendly and less forman like way.
We have gathered feedback that current way is quite confusing for ansible users. I am sharing a roadmap and I’m going to share the progress in this thread. Please share any thoughts or concerns you have about the process.
The high level roadmap is quite simple:
- 1.23 - make the ansible-runner default for new comers
- 1.24 - migrate everyone to ansible-runner and deprecate “ansible-playbook”
In more detail though, we have got a lot of ground work to make sure the transition is smooth.
ansible runner provides bionic deb packages (to have all supported platforms covered),
test the working ansible-runner at least on RHEL and Debian systems,
make smart-proxy-ansible depend on ansible-runner package,
installer is installing ansible-runner on smart-proxy,
document deb builds in ansible manual - https://ansible-runner.readthedocs.io/en/latest/install.html#from-source https://github.com/ansible/ansible-runner/pull/316
switch the default value of the setting to use ansible-runner
try to get STDOUT inside the ansible callback - if not, runner might be the only way to provide the STDOUT
Send the stdout with the config reports and visualize it.
migration switching the value for everyone
drop ansible implementation settings, remove the code from foreman_ansible_core
specify the minimum version of ansible-runner that’s supported