3
7

More than 5 years have passed since last update.

Ansible インストール (CentOS編)

Posted at

CentOS に Ansible(2.2.0.0) をインストール

sudo yum install -y epel-release
sudo yum install -y gcc python-pip python-devel openssl-devel libffi-devel
sudo pip install --upgrade pip setuptools
sudo pip install ansible==2.2.0.0

yum とか apt-get などでもできますが、パッケージ化されるまで時間を要するため、pip でのインストールを推奨します。

インストール確認

$ ansible --version
ansible 2.2.0.0
3
7
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
7