ansible 执行操作后看到日志有错误提示如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
nn2.hadoop | success | rc=0 >> Fri Jan 30 23:19:22 CST 2015 dn1.hadoop | FAILED >> { "failed": true, "msg": "Error: ansible requires a json module, none found!", "parsed": false } dn2.hadoop | FAILED >> { "failed": true, "msg": "Error: ansible requires a json module, none found!", "parsed": false } |
原因是python版本过,解决办法是:升级python 或者 安装python[……]
近期评论