Ansible – Failing playbook with Error: ansible requires a json module, none found!

Published on Author gryzliLeave a comment

If your ansible-playbook happens to fail with the following error message:

Error: ansible requires a json module, none found!

Most probably your solution will be to:

install “python-simplejson” on the remote host (where ansible-playbook tries to connect)

In my case the remote host is running Centos 5.x, but if you are using a different distro, the package may reside under different name.

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha * Time limit is exhausted. Please reload CAPTCHA.