The "ping" module is *NOT* Ansible trying to reach a host via ICMP message. 
Ansible will try to connect to the host via SSH and
execute the "ping" module which just generates a "pong" answer.



Am 20.06.2015 um 18:36 schrieb Suneel Gali:
> Hi Team,
> 
> I just started working on ansible and using online documentation to try.
> 
> I just ran my first command : ansible all -m ping
> 
> Why ansible wants to SSH to the server for which I am trying ping?
> 
> It does not make sense (until I am missing some thing) to connect to the 
> server when I just want to ping the server.
> 
> I added a Windows machine (the server is up and running) in the host file and 
> the ping command failed on SSH.
> 
> If I am trying to run a command on remote server, SSH connection is required. 
> Why for "ping"?
> 
> 
> Thanks,
> Suneel
> 
> -- 
> 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]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/42379306-69cb-41e1-b408-7e480b460bf0%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/42379306-69cb-41e1-b408-7e480b460bf0%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/5587F69F.3030608%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to