LoginSignup
3
4

More than 5 years have passed since last update.

Mac でソースコードから Ansible 2.X (最新版)をインストール

Last updated at Posted at 2016-02-13

前提条件

  • 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

参考資料

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4