Class: Ansible::Ruby::Modules::Ping
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ping
- Defined in:
- lib/ansible/ruby/modules/generated/system/ping.rb
Overview
A trivial test module, this module always returns C(pong) on successful contact. It does not make sense in playbooks, but it is useful from C(/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 that requires Python on the remote-node. For Windows targets, use the M(win_ping) module instead. For Network targets, use the M(net_ping) module instead.
Instance Method Summary collapse
-
#data ⇒ String?
Data to return for the C(ping) return value.,If this parameter is set to C(crash), the module will cause an exception.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#data ⇒ String?
Returns Data to return for the C(ping) return value.,If this parameter is set to C(crash), the module will cause an exception.
15 |
# File 'lib/ansible/ruby/modules/generated/system/ping.rb', line 15 attribute :data |