#Install Ansible
- To get Ansible for CentOS 7, first ensure that the CentOS 7 EPEL repository is installed
sudo yum install epel-release
- Once the repository is installed, install Ansible with yum:
sudo yum install ansible
We now have all of the software required to administer our servers through Ansible.
#Configure Ansible Hosts
- Create a file with name hosts in your ansible workspace directory
vi hosts
Sample hosts file contents look like this
192.168.1.1