Last updated 8 months ago
We can use ping module of Ansible to test whether or not Ansible is able to log onto the configured server(s).
ping
ansible all -m ping
This will ping every server.
Source: