Class: Ansible::Ruby::Modules::Tower_host

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_host.rb

Overview

Create, update, or destroy Ansible Tower hosts. See U(www.ansible.com/tower) for an overview.

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

#descriptionString?

Returns The description to use for the host.

Returns:

  • (String, nil)

    The description to use for the host.



16
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_host.rb', line 16

attribute :description

#enabled:yes, ...

Returns If the host should be enabled.

Returns:

  • (:yes, :no, nil)

    If the host should be enabled.



24
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_host.rb', line 24

attribute :enabled

#inventoryString

Returns Inventory the host should be made a member of.

Returns:

  • (String)

    Inventory the host should be made a member of.



20
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_host.rb', line 20

attribute :inventory

#nameString

Returns The name to use for the host.

Returns:

  • (String)

    The name to use for the host.



12
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_host.rb', line 12

attribute :name

#state:present, ...

Returns Desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Desired state of the resource.



31
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_host.rb', line 31

attribute :state

#variablesObject?

Returns Variables to use for the host. Use C(@) for a file.

Returns:

  • (Object, nil)

    Variables to use for the host. Use C(@) for a file.



28
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_host.rb', line 28

attribute :variables