pongon successful contact. It does not make sense in playbooks, but it is useful from
/usr/bin/ansibleto verify the ability to login and that a usable Python is configured.
| data |
| Default: |
Data to return for the
If this parameter is set to
# Test we can logon to 'webservers' and execute python with json lib. # ansible webservers -m ping # Example from an Ansible Playbook - ping: # Induce an exception to see what happens - ping: data: crash
Common return values are documented here, the following are the fields unique to this module:
| ping |
value provided with the data parameter
More information about Red Hat’s support of this module is available from this Red Hat Knowledge Base article.
If you notice any issues in this documentation, you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.