I am running CentOS on my bare-metal installation of esxi 6.5 host . While I am able to do ansible ping to my esxi 6.5 host from my Master Node that's running Ubuntu, I am unable to do ansible ping my CentOS using 'ansible -m ping all' even though I am being able to do normal ssh from my CentOS to my Master Node and from Master Node to CentOS.
*Host file* esxi-host root@192.168.1.10 *Output after running 'ansible -m ping all'* esxi-host | SUCCESS => { "changed": false, "ping": "pong" } root@192.168.1.10 | FAILED! => { "failed": true, "msg": "failed to transfer file to /root/.ansible/tmp/ansible-tmp-1495975641.67-89953239612864/ping.py:\n\nssh: Could not resolve hostname 192.168.1.10]: Name or service not known\r\nlost connection\n" } Even after trying to put scp_if_ssh=True on my ansible.cfg, this still happen. Any help would be appreciated! -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/82c91b76-6589-45b1-8bf9-b1e6f25a7157%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.