Class: Ansible::Ruby::Modules::Tower_inventory_source
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Tower_inventory_source
- Defined in:
- lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb
Overview
Create, update, or destroy Ansible Tower inventories source. See U(www.ansible.com/tower) for an overview.
Instance Method Summary collapse
-
#credential ⇒ String?
Credential to use to retrieve the inventory from.
-
#description ⇒ String?
The description to use for the inventory source.
-
#group_by ⇒ Object?
Specify which groups to create automatically.
-
#instance_filters ⇒ Object?
Provide a comma-separated list of filter expressions.
-
#inventory ⇒ String
The inventory the source is linked to.
-
#name ⇒ String
The name to use for the inventory source.
-
#overwrite ⇒ Symbol?
If set, any hosts and groups that were previously present on the external source but are now removed will be removed from the Tower inventory.
-
#overwrite_vars ⇒ Symbol?
If set, all variables for child groups and hosts will be removed and replaced by those found on the external source.
-
#source ⇒ :file, ...
Types of inventory source.
-
#source_path ⇒ Object?
Path to the file to use as a source in the selected project.
-
#source_project ⇒ Object?
Use a project as a source for the inventory.
-
#source_regions ⇒ Object?
List of regions for your cloud provider.
-
#source_script ⇒ Object?
The source custom script to use to build the inventory.
-
#source_vars ⇒ String?
The source_vars allow to Override variables found in the source config file.
-
#state ⇒ :present, ...
Desired state of the resource.
-
#timeout ⇒ Object?
Number in seconds after which the Tower API methods will time out.
-
#tower_verify_ssl ⇒ Symbol?
Tower option to avoid certificates check.
-
#update_cache_timeout ⇒ Object?
Time in seconds to consider an inventory sync to be current.
-
#update_on_launch ⇒ Symbol?
Each time a job runs using this inventory, refresh the inventory from the selected source before executing job tasks.
-
#update_on_project_update ⇒ Symbol?
That parameter will sync the inventory when the project is synced.
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
#credential ⇒ String?
28 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 28 attribute :credential |
#description ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 16 attribute :description |
#group_by ⇒ Object?
55 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 55 attribute :group_by |
#instance_filters ⇒ Object?
52 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 52 attribute :instance_filters |
#inventory ⇒ String
20 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 20 attribute :inventory |
#name ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 12 attribute :name |
#overwrite ⇒ Symbol?
61 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 61 attribute :overwrite |
#overwrite_vars ⇒ Symbol?
65 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 65 attribute :overwrite_vars |
#source ⇒ :file, ...
24 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 24 attribute :source |
#source_path ⇒ Object?
42 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 42 attribute :source_path |
#source_project ⇒ Object?
39 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 39 attribute :source_project |
#source_regions ⇒ Object?
49 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 49 attribute :source_regions |
#source_script ⇒ Object?
58 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 58 attribute :source_script |
#source_vars ⇒ String?
32 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 32 attribute :source_vars |
#state ⇒ :present, ...
76 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 76 attribute :state |
#timeout ⇒ Object?
36 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 36 attribute :timeout |
#tower_verify_ssl ⇒ Symbol?
80 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 80 attribute :tower_verify_ssl |
#update_cache_timeout ⇒ Object?
73 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 73 attribute :update_cache_timeout |
#update_on_launch ⇒ Symbol?
69 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 69 attribute :update_on_launch |
#update_on_project_update ⇒ Symbol?
45 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_inventory_source.rb', line 45 attribute :update_on_project_update |