Class: Ansible::Ruby::Modules::Tower_inventory
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Tower_inventory
- Defined in:
- lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory.rb
Overview
Create, update, or destroy Ansible Tower inventories. See U(www.ansible.com/tower) for an overview.
Instance Method Summary collapse
-
#description ⇒ String?
The description to use for the inventory.
-
#host_filter ⇒ Object?
The host_filter field.
-
#kind ⇒ :"", ...
The kind field.
-
#name ⇒ String
The name to use for the inventory.
-
#organization ⇒ String
Organization the inventory belongs to.
-
#state ⇒ :present, ...
Desired state of the resource.
-
#variables ⇒ Object?
Inventory variables.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #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 inventory.
16 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory.rb', line 16 attribute :description |
#host_filter ⇒ Object?
Returns The host_filter field. Only useful when C(kind=smart).
31 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory.rb', line 31 attribute :host_filter |
#kind ⇒ :"", ...
Returns The kind field. Cannot be modified after created.
27 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory.rb', line 27 attribute :kind |
#name ⇒ String
Returns The name to use for the inventory.
12 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory.rb', line 12 attribute :name |
#organization ⇒ String
Returns Organization the inventory belongs to.
20 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory.rb', line 20 attribute :organization |
#state ⇒ :present, ...
Returns Desired state of the resource.
34 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory.rb', line 34 attribute :state |
#variables ⇒ Object?
Returns Inventory variables. Use C(@) to get from file.
24 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory.rb', line 24 attribute :variables |