Saturday 15 July 2017

Steps to Install Ansible in CentOS or Readhat Family.

Install Ansible in CentOS or Readhat Family

Step1 :

To install ansible for centos first ensure that the CentOS EPEL repository must be installed. For this you need to be use below command.

 $ sudo yum install epel-release -y

Step2 :

Once the repository installed successful then install ansible for this you need to be use below command.

$ sudo yum install ansible -y

Now we are ready to manage servers trough ansible. If you want to confirm ansible install or not check below Command

$ sudo ansible  --version

Note: if your are root user sudo is not required