Ping Test
1.1.0
sudo apt-get update
sudo apt-get install software-properties-common
sudo apt-add-repository --yes --update ppa:ansible/ansible
sudo apt-get install ansible
ansible-galaxy install kennashka.ansible_testing_ping
- Replace (12.345.678.90) with your target server ip/domain address in hosts file
- Add the file location to ssh pem key in hosts file (ex. ansible_ssh_private_key_file= directory/location/to/your/pem/key/file)
- Verify/edit hosts in main.yml if needed
ansible-playbook -i ./hosts tasks/main.yml