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