ansible2.4.x RPM急速安装
概述:
在centos上安装ansible如果在线联网安装甚是方便,实际上大部分在内网安装隔绝外网,都是离线安装。如何急速安装软件,使我们迫切的愿望
环境:
- python2.6
- ansible2.4.6
- centos6.5
注意:全过程rpm安装,简单省事!
安装:
#ansible2.4.x依赖
https://pan.baidu.com/s/1P2hNR9p2QOjVEyGk_lnIBA 密码: iijs
rpm -ivh *.rpm //安装
#ansible2.4.x
https://pan.baidu.com/s/1fWkQ7z-si4RI-M1_2eXKnw 密码: 6v3x
rpm -ivh *.rpm //安装ansible2.4.x
测试:
#版本
[root@lab-130 xx]# ansible --version
ansible 2.4.6.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.6/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.6.6 (r266:84292, Nov 22 2013, 12:16:22) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]