Install Ansible on CentOS7 - Linux Hint
https://linuxhint.com/install-ansible-centos7Installing Ansible. Ansible is not available on the official repository of CentOS 7. But it is available in the epel repository. So first, you have to enable epel repository in CentOS 7. The easiest way to do that is to install epel-release package using yum. Install epel-release package with the following command: $ sudo yum install epel-release.