Skip to the content.

Ansible Test Connection

We can use ping module of Ansible to test whether or not Ansible is able to log onto the configured server(s).

ansible all -m ping

This will ping every server.

Source: Ansible Documentation