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: Ping Module - Ansible Documentationarrow-up-right
Last updated 1 year ago