INSTALLATION OF ANSIBLE IN CENTOS
To explore Ansible as a way to manage various servers, you need to install Ansible software on at least one computer.
To get the Ansible of CentOS 7, first make sure that the CentOS 7 epel repository is installed.
#sudo yum install epel-release -y
After installation, use yum repository to install Ansible.
#sudo yum install ansible -y
We have all the software you need to manage your server using Ansible.
Now we can check the ansible directory,
# cd /etc/ansible/
If ansible installed means check directories & files,
# ls
You will see default directory & host files,
# ansible.cfg hosts roles