前提条件
- git
- Python 2.6 以上
環境
- Mac OS X Yosemite 10.10.2
手順
- Github のリポジトリからソースコードをクローンする.
git clone https://github.com/ansible/ansible.git
- Ansible をインストールするための環境設定スクリプトを実行する.
source ./hacking/env-setup
- Ansible に必要なソフトウェアをインストールする.
sudo easu_install pip
sudo pip install paramiko PyYAML Jinja2 httplib2 six
- git のサブモジュールを読み込む.
git submodule update --init --recursive
- Ansible をインストールする.
sudo make install
- バージョンを確認する.
ansible --version