Class: Ansible::Ruby::Modules::Ipify_facts

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/net_tools/ipify_facts.rb

Overview

If behind NAT and need to know the public IP of your internet gateway.

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

#api_urlString?

Returns URL of the ipify.org API service.,C(?format=json) will be appended per default.

Returns:

  • (String, nil)

    URL of the ipify.org API service.,C(?format=json) will be appended per default.



12
# File 'lib/ansible/ruby/modules/generated/net_tools/ipify_facts.rb', line 12

attribute :api_url

#timeoutInteger?

Returns HTTP connection timeout in seconds.

Returns:

  • (Integer, nil)

    HTTP connection timeout in seconds.



16
# File 'lib/ansible/ruby/modules/generated/net_tools/ipify_facts.rb', line 16

attribute :timeout

#validate_certsString?

Returns When set to C(NO), SSL certificates will not be validated.

Returns:

  • (String, nil)

    When set to C(NO), SSL certificates will not be validated.



20
# File 'lib/ansible/ruby/modules/generated/net_tools/ipify_facts.rb', line 20

attribute :validate_certs