Documentation

ping - Try to connect to host, verify a usable python and return pong on success.

Synopsis

A trivial test module, this module always returns pong on successful contact. It does not make sense in playbooks, but it is useful from /usr/bin/ansible to verify the ability to login and that a usable python is configured. This is NOT ICMP ping, this is just a trivial test module.

Examples

# Test we can logon to 'webservers' and execute python with json lib.
ansible webservers -m ping

This is a Core Module

For more information on what this means please read Core Modules

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.