新机器连接老机器遇到的ERROR

                     Ansible无法连接老旧机器                         

报错内容:
[root@BI ansible]# ansible -i /etc/ansible/hosts GameServer -m ping
10.10.113.31 | FAILED >> {
    "failed": true, 
    "msg": "Error: ansible requires the stdlib json or simplejson module, neither was found!"
}
解决方法:

在老机器上安装:yum -y install python-simplejson   或者升级Python版本(最少升级到Python 2.6.6)。

 

posted @ 2016-01-19 18:04  唐胜伟  阅读(493)  评论(0编辑  收藏  举报