Ansible クライアント側の設定
http://extstrg.asabiya.net/pukiwiki/index.php?Ansible%20%A5%AF%A5%E9%A5%A4%A5%A2%A5%F3%A5%C8%C2%A6%A4%CE%C0%DF%C4%EAサーバ関連
目次
概要 †
Ansibleを使用する際のクライアント側の設定。
OS別設定 †
CentOS 5.x †
- 概要
Pythonのバージョン、及びモジュールの追加が必要となる。
- 手順
wgwt http://ftp.riken.jp/Linux/fedora/epel/5/i386/epel-release-5-4.noarch.rpm rpm -ivh epel-release-5-4.noarch.rpm yum -y install python26 yum -y install python-simplejson
エラー †
Error: ansible requires a json module, none found! †
- 原因
python-simplejsonモジュールが無い場合に発生するエラー。
- 対処
以下のコマンドにてpython-simplejsonをインストールする。yum -y install python-simplejson
Last-modified: 2015-04-03 (金) 15:05:21 (3309d)