サーバ関連 目次

概要

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

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2015-04-03 (金) 15:05:21 (3309d)