install ansible 2.5 on Oracle Linux 7.4 (redhat kernel)

install ansible 2.5 on Oracle Linux 7.4 (redhat kernel)

1. setup local yum source using OL7.4 iso file

2. yum install python2-cryptography.x86_64

3. rpm -Uvh python-paramiko-2.1.1-2.el7.noarch.rpm

(download url: http://mirror.centos.org/centos/7/extras/x86_64/Packages/python-paramiko-2.1.1-4.el7.noarch.rpm)

4. yum install PyYAML

5. yum install python-jinja2-2.7.2-2.el7.noarch.rpm

6. python setup.py install

7. mkdir -p /etc/ansible
     cp ./examples/ansible.cfg /etc/ansible
     cp ./examples/hosts     /etc/ansible

Comments are closed.