安装环境: CentOSLinux release 7.2.1511 (Core)
环境准备:已安装 Python 2.7.5。
# uname -a
Linux ansible 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
安装步骤:
1、添加 epel 软件源
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
centos 下可以直接 yum install epel-release
相关网站:http://fedoraproject.org/wiki/EPEL
2、安装ansible
yum install ansible
几篇写的不错的博客:
http://sofar.blog.51cto.com/353572/1579894/
http://www.aikaiyuan.com/6299.html