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’.