Ansible fails to run any modules from command line

Using default settings, with one entry for the same host, installation from EPEL, on Centos 6.4, just trying the ping module:

ansible all -m ping

Traceback (most recent call last):
File “/usr/bin/ansible”, line 157, in
(runner, results) = cli.run(options, args)
File “/usr/bin/ansible”, line 123, in run
diff=options.check
File “/usr/lib/python2.6/site-packages/ansible/runner/init.py”, line 187, in init
cmd = subprocess.Popen([‘ssh’,‘-o’,‘ControlPersist’], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File “/usr/lib64/python2.6/subprocess.py”, line 639, in init
errread, errwrite)
File “/usr/lib64/python2.6/subprocess.py”, line 1228, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

This will result in the same error:

ansible localhost -a “/bin/echo hello”

Python version: python-2.6.6-36.el6.x86_64

I have two other running ansible deployments (with RHEL 6.4) at work that ran perfectly from first day, I see this type of error for first time. Looking in this group I found similar problems when using external nodes classification or inventory scripts, but this is not the case.

Does anybody see what is wrong?

Thanks!

Ansible version is 1.3.2
Python verison is 2.6.6

Please see the other thread about this for replies.

All-right thanks. What other post? If you mean the duplicate of this one, I deleted it, as it was a mistake.

Or you mean other posts about this that I have not found using the search?

Thanks!

The other thread you started, which is “Ansible not even running the ping module”

Michael,

I deleted that one.

It took some time to appear in the list, so I though it had not been processed, that is why started this other. I do not see it any more in the list. If you have the chance to merge the two or to C&P the answer, I would be grateful.

Thanks.