February 2018
Intermediate to advanced
200 pages
5h 51m
English
We just have to use the Ansible command and pass the ping module as an argument to parameter -m. A successful execution will return the string pong. It signifies that Ansible can reach the server and execute tasks, subject to the authorization level of the user, of course:
$ ansible localhost -m pinglocalhost | SUCCESS => { "changed": false, "failed": false, "ping": "pong"}
Read now
Unlock full access