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

Published on Author gryzli

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.