[root@ansible ~]# yum install epel-release -y
[root@ansible ~]# yum install ansible
Install Ansible on CentOS 7 https://www.snel.com/support/how-to-install-ansible-on-centos-7/