Thursday, June 7, 2018

Install Ansible on RedHat linux - Install Ansible on RHEL 7.5 - How to install Ansible on RedHat Enterprise Linux 7.5 - Install Ansible on RedHat linux

How to Install Ansible on RedHat linux Enterprise ?

Let us see how to install Ansible on RedHat Enterprise Linux machine.

Download EPEL for Enterprise Linux

sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Also enable the optional and extras repositories since EPEL packages may depend on packages from these repositories:

sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"

Update repository

sudo yum update

Install Ansible
sudo yum install ansible

ansible --version

No comments:

Post a Comment