Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 617 Bytes

require_stdlib_json_or_simplejson_module.md

File metadata and controls

18 lines (14 loc) · 617 Bytes

执行playbook时候出现如下报错

TASK: [Make directory for change] **************************************
failed: [192.168.1.1] => {"failed": true}
msg: Error: ansible requires the stdlib json or simplejson module, neither was found!
failed: [192.168.1.2] => {"failed": true}
msg: Error: ansible requires the stdlib json or simplejson module, neither was found!
......

参考 Error: ansible requires a json module, none found

需要安装 python-simplejson

sudo yum install -y python-simplejson