Class: Ansible::Ruby::Modules::Tower_host
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Tower_host
- 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
-
#description ⇒ String?
The description to use for the host.
-
#enabled ⇒ :yes, ...
If the host should be enabled.
-
#inventory ⇒ String
Inventory the host should be made a member of.
-
#name ⇒ String
The name to use for the host.
-
#state ⇒ :present, ...
Desired state of the resource.
-
#variables ⇒ Object?
Variables to use for the host.
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
#description ⇒ String?
Returns 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.
24 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_host.rb', line 24 attribute :enabled |
#inventory ⇒ String
Returns 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 |
#name ⇒ String
Returns 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.
31 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_host.rb', line 31 attribute :state |
#variables ⇒ Object?
Returns 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 |