How to install Ansible in CentOS 7 using Yum

Hello Friends, today I am going to explain you, How to install ansible in CentOS 7 using yum. Ansible is an open source IT Configuration Management, Deployment & Orchestration tool. It communicates over normal SSH channels in order to retrieve information from remote machines, issue commands, and copy files. Because of this, an Ansible system does not require any additional software to be installed on the client computers. Lets start how to install ansible in CentOS 7 using yum. If you want to install Ansible using PIP refer the below link :

How to install Ansible in CentOS 7 with PIP

Ansible Installation Steps:

To begin exploring Ansible as a means of managing our various servers, we need to install the Ansible software on at least one machine.

To get Ansible for CentOS 7, first ensure that the CentOS 7 EPEL repository is installed:

How To Install EPEL Repo on CentOS 7 and RHEL 7

#yum repolist

EPEL Repository

EPEL Repository

Once the repository is installed, install Ansible usingyum

#yum install ansible

How to install Ansible in CentOS 7 using Yum

How to install Ansible in CentOS 7 using Yum

How to install Ansible in CentOS 7 using Yum

How to install Ansible in CentOS 7 using Yum

You can verify the ansible version using below command :

#ansible  – – version

Ansible Version

Ansible Version

Ansible Document

Thanks for reading the post 🙂 . Please share and leave your comment if any.

Tagged , , , , , , , , , . Bookmark the permalink.