{{ cat }}'s docs

1.1.0: ansible安装


1. yum 安装

yum install -y epel-release
yum install -y ansible
yum install gcc libffi-devel python-devel openssl-devel

2. 源码安装

git clone git://github.com/ansible/ansible.git --recursive
cd ansible/
source hacking/env-setup

pip install paramiko PyYAML Jinja2 httplib2 six

If you have issues with the “pycrypto” package install on Mac OSX, which is included as a dependency for paramiko, then you may need to try “CC=clang sudo -E pip install pycrypto”.


3. pip安装

pip install ansible