If you get any problem in installing Ansible on the RedHat system, you need to solve ansible package dependencies if you install ansible on centos 7. you can also install Ansible on Ubuntu. you can find ansible modules list using ansible-doc -l.
We require two packages Python Paramiko & sshpass links are mentioned below so download from the site and install Ansible.
Solve Ansible Package Dependencies:
Ansible is an automation tool which used to the configuration on all servers simultaneously using the ssh protocol.
In CentOS, you will not face these problems as you just need to connect to the internet which will take you to direct CentOS repository wherefrom it will directly install Ansible in single commands.
In CentOs Case,
yum install ansible -y
But I have downloaded the required packages on the system.
Python Paramiko package Download here Python Paramiko
yum install python-paramiko-2.1.1-0.4.el7.noarch.rpm -y
But you have to download sshpass Package from this link.
yum install sshpass-1.05-1.el7.rf.x86_64.rpm -y
So, Install Ansible
yum install ansible-220.127.116.11-1.el7.ans.noarch.rpm -y
So, Verify with below command
rpm -qa ansible
So, Main Ansible Configuration File.
Check Out: Step To Install Erlang Package
That’s it. install ansible on centos 7 install ansible on ubuntu ansible modules list