ansible操作远程服务器报Error: ansible requires the stdlib json or simplejson module, neither was found!
2016-07-11 08:31
543 查看
通过ansible执行远程命令时报如下异常:
这是由于ansible执行远程命令或脚本需要python和python-simplejson的支持,如果python版本大于2.5则安装python即可,如果小于2.5则需要安装python和python-simplejson。
安装python和python-simplejson
重新执行即可。
Error: ansible requires the stdlib json or simplejson module, neither was found!
这是由于ansible执行远程命令或脚本需要python和python-simplejson的支持,如果python版本大于2.5则安装python即可,如果小于2.5则需要安装python和python-simplejson。
安装python和python-simplejson
yum install python yum install python-simplejson
重新执行即可。
相关文章推荐
- 2016-07-11 Null value was assigned to a property of primitive type setter 问题
- Android UI设计之<十二>自定义View,实现绚丽的字体大小控制控件FontSliderBar
- 在 PC 端使用Bluemix的 Internet of Things Foundation 双向传达接收远程装置信息
- 强大的在线web编辑器UEditor
- B - Ubiquitous Religions
- 3990 G. I guess the gift is a bag! II
- 3985. I guess the gift is a bag!
- @RequestParam 的用法
- String StringBuffer StringBuilder 区别
- Uncaught TypeError: ((n.event.special[g.origType] || (intermediate value)).handle || g.handler)....
- Android : UI Layout
- Longest Consecutive Sequence
- Vue.js学习 Item9 – 表单控件绑定
- UITableView _configureCellForDisplay:forIndexPath
- UIView的frame的一个实用类别category
- angular之ui.router
- System.Text.StringBuilder 类
- 使用ZXPAutoLayout设置UIScrollView的ContentSize
- UI面试内容
- Codeforces Round #360 (Div. 2) E. The Values You Can Make 01背包