I'm running Ansible from a Centos 6 server w/ Python 2.6. My hosts are 
running RH5 w/ Python 2.4 and I have python-simplejson installed. On the 
client, "import json" from within the python interpreter doesn't work but 
"import simplejson" does work.

So if I run the shell module

ansible all -m shell -a "cat /etc/redhat-release" returns values

If I run a playbook that utilizes the netscaler module, I get the following 
error.

TASK: [disable service in the lb] 
*********************************************
failed: [web002] => {"failed": true, "parsed": false}
Traceback (most recent call last):
  File 
"/home/deployment/.ansible/tmp/ansible-tmp-1424196167.51-24867210620940/netscaler",
 
line 100, in ?
    import json
ImportError: No module named json


FATAL: all hosts have already failed -- aborting

-- 
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/b5f89afd-0c60-48c7-b67f-978c1809a1f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to