Install Ansible on CentOS7Ansible is a zero-configuration server management utility. It is used to manage many servers from a central computer. It makes every system administrative tasks easy. In this article, I will show you how to install Ansible on CentOS 7. Let’s get started.
Installing AnsibleAnsible 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.
To install the
epel-release package with the following command:
sudo yum install epel-release
Press ‘
y’ and then press <
Enter> to continue.
The
epel-release package should be installed now.
Now you can install
Ansible with the following command:
sudo yum install ansible
Press ‘
y’ and then press <
Enter> to continue.
Ansible should be installed.
Now check that Ansible is installed with the following command:
$ ansible --version
Hoping that the information was useful.
Thank you!!