test@TESTVM:/etc/ansible$ ansible-playbook ios_facts.yml
[WARNING] Ansible is in a world writable directory (/etc/ansible),
ignoring it as an ansible.cfg source.
PLAY [Collect IOS Device Facts]
************************************************************************************************************************************************************
TASK [Gathering Facts]
*********************************************************************************************************************************************************************
fatal: [10.208.0.17]: FAILED! => {"msg": " [WARNING] Ansible is in a world
writable directory (/etc/ansible), ignoring it as an ansible.cfg
source.\n{\"socket_path\": \"/home/test/.ansible/pc/12ac842f48\",
\"exception\": \"Traceback (most recent call last):\\n File
\\\"/usr/bin/ansible-connection\\\", line 87, in start\\n
self.connection._connect()\\n File
\\\"/usr/lib/python2.7/dist-packages/ansible/plugins/connection/network_cli.py\\\",
line 302, in _connect\\n self._ssh_shell =
ssh.ssh.invoke_shell()\\nNameError: global name 'ssh' is not defined\\n\",
\"messages\": [\"local domain socket does not exist, starting it\",
\"control socket path is /home/test/.ansible/pc/12ac842f48\", \"\"],
\"error\": \"global name 'ssh' is not defined\"}"}
to retry, use: --limit @/etc/ansible/ios_facts.retry
PLAY RECAP
*********************************************************************************************************************************************************************************
10.208.0.17 : ok=0 changed=0 unreachable=0
failed=1
test@TESTVM:/etc/ansible$
--
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/d5b1b118-e302-46d8-ba77-8b3f7259335c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.