Class: Ansible::Ruby::Modules::Cs_facts

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_facts.rb

Overview

This module fetches data from the metadata API in CloudStack. The module must be called from within the instance itself.

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

#filter:cloudstack_service_offering, ...

Returns Filter for a specific fact.

Returns:

  • (:cloudstack_service_offering, :cloudstack_availability_zone, :cloudstack_public_hostname, :cloudstack_public_ipv4, :cloudstack_local_hostname, :cloudstack_local_ipv4, :cloudstack_instance_id, :cloudstack_user_data, nil)

    Filter for a specific fact.



12
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_facts.rb', line 12

attribute :filter

#meta_data_hostString?

Returns Host or IP of the meta data API service.,If not set, determination by parsing the dhcp lease file.

Returns:

  • (String, nil)

    Host or IP of the meta data API service.,If not set, determination by parsing the dhcp lease file.



16
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_facts.rb', line 16

attribute :meta_data_host