Install ansible Dependencies

If you get any problem in installing Ansible on redhat system , there are some dependencies of Ansible which require some packages in order to get install.

We require two packages Python Paramiko & sshpass  links are mentioned below so download from the site and install Ansible.

In CentOs, you will not face these problem as you just need to connect to the internet which will take you to direct CentOs repository where from it will directly install Ansible in single commands.

In CentOs Case , Yum install Ansible -y

I have downloaded the required packages on System.

Python Paramiko package Download here Python Paramiko

Let’s Install

yum install python-paramiko-2.1.1-0.4.el7.noarch.rpm -y

sshpass Package download here SSHPASS

 Let’s Install

yum install sshpass-1.05-1.el7.rf.x86_64.rpm -y

Install Ansible

yum install ansible-2.4.5.0-1.el7.ans.noarch.rpm -y

Verify

rpm -qa ansible

Main Ansible Configuration File

You’re done

Sponsored

LEAVE A REPLY

Please enter your comment!
Please enter your name here