一、Linux的安装
cd /usr/local/src && wget https://pypi.python.org/packages/source/a/ansible/ansible-1.9.6.tar.gz
tar -xvf ansible-1.9.6.tar.gz && python setup.py install
[root@pydev bin]# vim ~/.bash_profile
PATH=$PATH:$HOME/bin:/usr/local/src/ansible-1.9.6/bin
[root@pydev bin]# source ~/.bash_profile
参考:http://gnucto.blog.51cto.com/3391516/1687955
二、MACos安装
arun:~ arunyang$ pip install ansible==1.9.6 #mac如此简单O(∩_∩)O哈哈哈~