Unable to install plugin enable-foreman-proxy-plugin-ansible

Problem:
Unable to install enable-foreman-proxy-plugin-ansible with foreman-installer.
Expected outcome:
Successfully installs and enable this plugin.
Foreman and Proxy versions:
foreman-3.0.0-0.1.rc2.el8.noarch
foreman-proxy-3.0.0-0.1.rc2.el8.noarch
Distribution and version:
AlmaLinux 8.4
Other relevant data:
Do I need to have the EPEL repository enable to pull Ansible during this installation?

2021-09-21 16:28:36 [DEBUG ] [configure] Packagerubygem-smart_proxy_ansible: Ensuring => present
2021-09-21 16:28:36 [DEBUG ] [configure] Executing: ‘/bin/dnf -d 0 -e 1 -y install rubygem-smart_proxy_ansible’
2021-09-21 16:28:38 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install rubygem-smart_proxy_ansible’ returned 1: Error:
2021-09-21 16:28:38 [ERROR ] [configure] - nothing provides ansible >= 2.2 needed by rubygem-smart_proxy_ansible-3.2.1-2.fm2_6.el8.noarch
2021-09-21 16:28:38 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Plugin::Ansible/Foreman_proxy::Plugin::Module[ansible]/Foreman_proxy::Plugin[ansible]/Package[rubygem-smart_proxy_ansible]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install rubygem-smart_proxy_ansible’ returned 1: Error:
2021-09-21 16:28:38 [ERROR ] [configure] - nothing provides ansible >= 2.2 needed by rubygem-smart_proxy_ansible-3.2.1-2.fm2_6.el8.noarch

I had a similar issue some time ago, the answer I received was:

At the time (early CentOS 8 support development), EPEL was not supported on CentOS 8 systems.

I hope this is helpful,
Peter

2 Likes

Yes @illumino very helpful. I had found the same thing in the documentation after I posted this. I did not include that repo as part of the initial build since I already run Ansible from an AWX environment so I thought it might not be necessary. I’m going to add that repositories today and give it another try. Thanks for the reply.