Class: Ansible::Ruby::Modules::Win_ping

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/windows/win_ping.rb

Overview

Checks management connectivity of a windows host. This is NOT ICMP ping, this is just a trivial test module. For non-Windows targets, use the M(ping) module instead. For Network targets, use the M(net_ping) module instead.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#dataString?

Returns Alternate data to return instead of ‘pong’.,If this parameter is set to C(crash), the module will cause an exception.

Returns:

  • (String, nil)

    Alternate data to return instead of ‘pong’.,If this parameter is set to C(crash), the module will cause an exception.



15
# File 'lib/ansible/ruby/modules/generated/windows/win_ping.rb', line 15

attribute :data