Where do I install Ansible from

Yes, I do, but I run most of it from CentOS 7 machines. (The managed systems have been CentOS 5, 6, 7, 8, and Alma 8, 9.)

I did use EPEL-version for a while, but then found CentOS SIG repos, which like module streams do not rebase. So now I do have done:

dnf install centos-release-ansible-29  # to get repo
dnf install ansible                    # to get program

However, the Ansible 2.9 is old now, and if RHEL 8.6 will have ansible-core and EPEL add more tools for it, then it makes sense to do now:

dnf install epel-release  # to get repo
dnf install ansible       # to get program

(If one is running from Alma, ect. With CentOS 7 I have to consider more carefully whether it makes sense – there will be some porting of playbooks, I presume.)

I’ve written most of the roles and playbooks that I use myself as that did support learning the tool.
Red Hat offers “system roles” now and documents them within RHEL docs, so those are a good option too.

1 Like