Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Install Ansible on CentOS7  (Read 1471 times)

0 Members and 1 Guest are viewing this topic.

akhilt

  • Guest
Install Ansible on CentOS7
« on: April 07, 2018, 04:35:04 pm »
Install Ansible on CentOS7

Ansible 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 Ansible

Ansible 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:

Code: [Select]
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:

Code: [Select]
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:

Code: [Select]
$ ansible --version


Hoping that the information was useful.
Thank you!!