# Basic Ansible Ping Module Question

**URL:** <https://forum.ansible.com/t/basic-ansible-ping-module-question/24008>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [March 18, 2017, 8:08pm UTC](https://forum.ansible.com/t/basic-ansible-ping-module-question/24008 "2017-03-18T20:08:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerewrig12345](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jerewrig12345](https://forum.ansible.com/u/jerewrig12345)\
**Post date:** [March 18, 2017, 8:08pm UTC](https://forum.ansible.com/t/basic-ansible-ping-module-question/24008/1 "2017-03-18T20:08:57Z")

</div>

I’m just learning the Ansible basics in my lab. I have an Ansible VM that can’t ping my virtual router. I have purposely shutdown the router interface for testing. Even though the router is down, the Ansible ping module makes it appear as if it is up. I thought this was designed to quickly check if my hosts were reachable via ssh but I could be wrong. What is this module really doing? Yes I’m new to this so apologies in advance for the basic questions. Thanks!

**@ubuntu** : **~/jw-ansible** $ ansible --version

ansible 2.2.1.0

config file = /home/jeremywright/jw-ansible/ansible.cfg

configured module search path = [‘/usr/share/ansible’]

**jeremywright@ubuntu** : **~/jw-ansible** $ ping 192.168.7.56

PING 192.168.7.56 (192.168.7.56) 56(84) bytes of data.

^C

— 192.168.7.56 ping statistics —

3 packets transmitted, 0 received, 100% packet loss, time 2010ms

**jeremywright@ubuntu** : **~/jw-ansible** $ ansible -i hosts 1000v -m ping

192.168.7.56 | SUCCESS =\> {

“changed”: false,

“ping”: “pong”

}

---

<div class="post-metadata">

**Author:** ![Dick\_Davies](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Post date:** [March 20, 2017, 8:38am UTC](https://forum.ansible.com/t/basic-ansible-ping-module-question/24008/2 "2017-03-20T08:38:07Z")

</div>

Ansibles ping: task checks the host is 'manageable' - that login  
works, python is recent enough and can generate json.

If the host is unreachable that sounds unlikely. Can you SSH to it?
