Hi,
I am a newbie to the Ansible Python API thing and i am trying out to run the code given in the Ansible Python API documentation (Link: http://docs.ansible.com/ansible/developing_api.html Python API 2.0)
I get the following error:
PLAY [Ansible Cli PoC] *********************************************************
TASK [setup] *******************************************************************
/usr/lib/python2.6/site-packages/ansible/plugins/connection/ssh.py(537)_run()
→ if C.HOST_KEY_CHECKING:
(Epdb) c
fatal: [172.16.0.234]: FAILED! => {“failed”: true, “msg”: “using -c ssh on certain older ssh versions may not support ControlPersist, set ANSIBLE_SSH_ARGS="" (or ssh_args in [ssh_connection] section of the config file) before running again”}
NO MORE HOSTS LEFT *************************************************************
cleanup
<ansible.executor.task_queue_manager.TaskQueueManager object at 0x116dc10>
Can you please let me know how to proceed with this?