Ubuntu 18.04 ansible plugin dependencies broken

Foreman-installer in version 1.24.

Ansible plugins fails to install on Ubuntu 18.04 because of package dependencies against ‘ansible-runner’ starting from version 1.24 of Foreman-installer.
Apparently no CI tests are done with the combination of supported distribution Ubuntu 18.04 and ansible plugin.

According to documentation from ansible-runner installation can be done with pip.

# If you do not have pip
curl https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py && python3 /tmp/get-pip.py
python3 -m pip install ansible-runner

But Foreman-installer fails anyway because it depends on the success of installation of the not existing deb package ansible-runner.

I can see that implementation of ansible-runner has not followed the requirements made for 1.23 that was needed for the planned (now implemented) next step in 1.24 that switched on the requirement of the deb package ‘ansible-runner’.

It seems like this has been fixed since 2020-03-16. There is now a bionic deb repository at https://releases.ansible.com/ansible-runner/deb/dists/bionic
It is not documented yet but it is there.

Still, Apparently no CI tests are done with the combination of supported distribution Ubuntu 18.04 and ansible plugin.

We recently enabled Ubuntu 18.04 testing on our Puppet module that installs it, but there’s no acceptance test that actually installs it. It’d be a great contribution if you could add this. The dynflow test there does install a plugin so copying that would probably be sufficient. Note it uses examples for the actual code.

I had to manually import their key to avoid this error on ubuntu 18.04

(per https://ansible-runner.readthedocs.io/en/latest/install.html#installing-ansible-runner)

1 Like