LoginSignup
3
3

More than 5 years have passed since last update.

CentOS6系でAnsible1.9系をインストールする手順

Last updated at Posted at 2016-06-27

CentOS6系でAnsible1.9系をインストールする手順

Ansibleの2.1系がまだ不安定そうなので、1.9系のインストール手順をあらためてまとめてみました。

EPELからインストールする場合

EPELのansibleパッケージが2.1系になって1.9系のパッケージはリネームされてしまったみたいで以前とパッケージ名が変わっています。

# yum -y install epel-release
# yum -y install ansible1.9

※ CentOS7系も上記の手順でできそうです。

pipからインストールする場合

pipでの手順は以下を参考にしました。

# yum -y remove python-setuptools python-crypto
# yum -y install wget python-devel libffi-devel openssl-devel gcc
# wget https://bootstrap.pypa.io/ez_setup.py -O - | python
# easy_install pip
# pip install ansible==1.9.6

※ CentOS7系は下記の手順でできそうです。

# yum -y install python-setuptools python-devel libffi-devel openssl-devel gcc
# easy_install pip
# pip install ansible==1.9.6
3
3
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
3