CentOS 7 Yum でインストールする場合 YumリポジトリにEPELを追加します。 # yum install -y epel-release Ansibleをインストールします。 # yum install -y --enablerepo=epel ansible バージョンを確認します。 # ansible --version ansible 2.0.2.0 pip(ピップ)でインストールする場合 YumリポジトリにEPELを追加します。 # yum install -y epel-release libffi-devel pipのインストールと更新をします。 # yum install -y --enablerepo=epel python-pip # pip install --upgrade pip Ansibleのコンパイルに必要なパッケージをインストールします。 #