# Need some help

**URL:** <https://forum.ansible.com/t/need-some-help/22011>\
**Category:** Ansible Project\
**Created:** [July 14, 2016, 4:46am UTC](https://forum.ansible.com/t/need-some-help/22011 "2016-07-14T04:46:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![niraj\_pandey](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@niraj\_pandey](https://forum.ansible.com/u/niraj_pandey)\
**Post date:** [July 14, 2016, 4:46am UTC](https://forum.ansible.com/t/need-some-help/22011/1 "2016-07-14T04:46:34Z")

</div>

Hi,

I have just started to learn Ansible and facing some issue while executing a simple ping command:

ansible webserver -m ping

wllog | FAILED! =\> {  
“changed”: false,  
“failed”: true,  
“module\_stderr”: “”,  
“module\_stdout”: “Traceback (most recent call last):\r\n File "/home/niraj/.ansible/tmp/ansible-tmp-1468471044.71-226020658252160/ping.py", line 120, in ?\r\n exitcode = invoke\_module(module, zipped\_mod, ZIPLOADER\_PARAMS)\r\n File "/home/niraj/.ansible/tmp/ansible-tmp-1468471044.71-226020658252160/ping.py", line 29, in invoke\_module\r\n (stdout, stderr) = p.communicate(json\_params)\r\n File "/usr/lib64/python2.4/subprocess.py", line 1064, in communicate\r\n bytes\_written = os.write(self.stdin.fileno(), input[:512])\r\nOSError: [Errno 32] Broken pipe\r\n”,  
“msg”: “MODULE FAILURE”,  
“parsed”: false  
}

Little bit googling hints that I need to install simplejason module on the client machine.

Is there any way that ansible use the python from alternate location on client machine to pass information back instead of it’s default location (/usr/bin/python).

As I have a python installed centrally and accessible from all the hosts. This python carrying most of the modules. So I want client should use that python to pass information back to ansible.

Thanks  
~Niraj

---

<div class="post-metadata">

**Author:** ![Will\_McDonald](https://avatars.discourse-cdn.com/v4/letter/w/f475e1/32.png) [@Will\_McDonald](https://forum.ansible.com/u/Will_McDonald)\
**Post date:** [July 14, 2016, 5:45pm UTC](https://forum.ansible.com/t/need-some-help/22011/2 "2016-07-14T17:45:31Z")

</div>

Have a look at ansible\_python\_interpreter:

[http://docs.ansible.com/ansible/intro\_inventory.html#list-of-behavioral-inventory-parameters](http://docs.ansible.com/ansible/intro_inventory.html#list-of-behavioral-inventory-parameters)

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [July 14, 2016, 7:18pm UTC](https://forum.ansible.com/t/need-some-help/22011/3 "2016-07-14T19:18:43Z")

</div>

Check out ansible\_python\_interpreter

---

<div class="post-metadata">

**Author:** ![niraj\_pandey](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@niraj\_pandey](https://forum.ansible.com/u/niraj_pandey)\
**Post date:** [July 18, 2016, 1:26pm UTC](https://forum.ansible.com/t/need-some-help/22011/4 "2016-07-18T13:26:16Z")

</div>

Thanks ,

Is this applicable on RHEL5 machines as well ?

Thanks  
Niraj
