Rocky Linux 8 as base for F/K server - EPEL?

In preparation to move my current F/K installation to 4.6 I need to migrate away from CentOS 7. There is one thing not clear for me, and I hope you can resolve this mental conflict. According to the F/K docs, EPEL is not supported on the Foreman/Katello server. However, reading through RockyLinux docs, Ansible would only be available within the EPEL repo.

Is there any independent repository available for Ansible on RockyLinux 8, which is supported by F/K? For CentOS 7 I have used http://mirror.centos.org/centos-7/7/configmanagement/x86_64/ansible-29 before.

Thank you for your advice.

Correct. EPEL 8 packages would break the server installation.

I don’t know where you have found that, but ansible-core 2.12 is part of EL8 AppStream repositories and that includes RockyLinux: See Index of /pub/rocky/8/AppStream/x86_64/os/Packages/a/

Thank you for your reply. I am happy to learn, that I can find the needed packages inside of AppStream.

I found this here: https://www.linuxtechi.com/how-to-install-ansible-on-rocky-linux/. Apparently that was not a reliable source.

Well, that’s an option if you need a newer ansible version. However, for foreman/katello you’ll need to use a compatible version which is 2.12 from the AppStream repository.

To add something to gvde’s message:
I don’t know if it’s already in the docs, but yes since 8.6 ansible is in the AppStream repo, more specificly, it’s ansible-core, the ansible package would be in the EPEL repo, but as you may have noticed, you are not allowed to have this on a Foreman installed server.

Tbh, you don’t really need ansible instead of ansible-core it just adds the galaxy modules and depends on ansible-core (which you can of course also install via ansible-galaxy collection ... )

Furthermore, don’t use the CentOS SIG repo with ansible 2.9 on 8.6+ systems, it will only break dependencies :slight_smile:

Thank you all for your feedback. It made the way less rocky.

1 Like