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!