Saturday, April 23, 2016

Ansible installation on RHEL7


This is mainly for system that is not connected to internet directly , all you have to do is search for below rpm's download it to your local machine and install it using yum.

I used :http://rpm.pbone.net/ and https://www.rpmfind.net/ to download required rpm's

python-babel-0.9.6-8.el7.noarch.rpm
python-crypto-2.0.1-1.el7.rf.x86_64.rpm
python-crypto-2.6.1-1.el7.rf.x86_64.rpm
python-paramiko-1.15.1-1.el7.noarch.rpm
sshpass-1.05-1.el7.rf.x86_64.rpm
python-setuptools-0.9.8-4.el7.noarch.rpm
python-simplejson-3.3.3-1.el7.x86_64.rpm
python-jinja2-2.7.2-2.el7.noarch.rpm
python-httplib2-0.7.7-3.el7.noarch.rpm
python-keyczar-0.71c-2.el7.noarch.rpm
python-ecdsa-0.11-3.el7.noarch.rpm
ansible-2.0.1.0-2.el7.noarch.rpm

Once you downloaded these rpm's all you need is to run

# yum -y localinstall ansible-2.0.1.0-2.el7.noarch.rpm python-babel-0.9.6-8.el7.noarch.rpm  python-crypto-2.6.1-1.el7.rf.x86_64.rpm python-ecdsa-0.11-3.el7.noarch.rpm python-httplib2-0.7.7-3.el7.noarch.rpm python-jinja2-2.7.2-2.el7.noarch.rpm python-keyczar-0.71c-2.el7.noarch.rpm python-paramiko-1.15.1-1.el7.noarch.rpm python-setuptools-0.9.8-4.el7.noarch.rpm python-simplejson-3.3.3-1.el7.x86_64.rpm sshpass-1.05-1.el7.rf.x86_64.rpm.


I got this idea from the following blogger http://esbmagic.blogspot.com/2015/09/ansible-installation-on-redhat-rhel.html , he is using a yum to  download rpm to local directory and  later using rpm -ivh to install all the rpm's.

No comments:

curl and cacert

curl -v --cacert cacert.pem https://www.example/cgi-bin/f ile.xgi -I -X POST