經過ansible執行遠程命令時報以下異常:python
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。json
安裝python和python-simplejsonui
yum install python yum install python-simplejson
從新執行便可。spa