Ansible Script to ping servers
Redhat Ansible is an opensource configuration management, infrastructure provisioning and application deployment automation tool which can be used for both cloud and on-prem solutions
Here is a code snippet which will test the reach-ability of instances or target nodes via ansible playbook
code:
