I encountered the same issue on my Ansible Host, when I try to run -m ping command to one of my linux server. After a detailed error information I got to know that ansible try to generate some files on client machine for that it requires "python-simplejson" available on the remote machine. After Installing the missing "python-simplejson" componant on remote machine I could able to run the command successfully.
-Jidnesh On Friday, 28 June 2013 21:16:11 UTC+5:30, Dmitry Makovey wrote: > > Hi I searched google and only found > https://groups.google.com/forum/#!topic/ansible-project/VvsonX7QrMk that > deals with the similar problem. > > My problem is: > > I'm using RHEL6 as my main ansible station (ansible-1.1 from EPEL) and > whenever I launch it against RHEL5 boxes I get: > > $ ansible rhe5box.com -i my-serverlist -u root -m command -a "ls" > rhel5box.com | FAILED >> { > "failed": true, > "msg": "Error: ansible requires a json module, none found!", > "parsed": false > } > $ ssh [email protected] <javascript:> python -V > Python 2.4.3 > > Sounds like Ansible shouldn't care for json on remote boxes but for some > reason it does - something I'm missing? > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0ea123bc-d242-4964-a408-a58f0dbc6097%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
