Class: Ansible::Ruby::Modules::Tower_project
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Tower_project
- Defined in:
- lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb
Overview
Create, update, or destroy Ansible Tower projects. See U(www.ansible.com/tower) for an overview.
Instance Method Summary collapse
-
#description ⇒ String?
Description to use for the project.
-
#local_path ⇒ Object?
The server playbook directory for manual projects.
-
#name ⇒ String
Name to use for the project.
-
#organization ⇒ String?
Primary key of organization for project.
-
#scm_branch ⇒ Object?
The branch to use for the SCM resource.
-
#scm_clean ⇒ :yes, ...
Remove local modifications before updating.
-
#scm_credential ⇒ Object?
Name of the credential to use with this SCM resource.
-
#scm_delete_on_update ⇒ :yes, ...
Remove the repository completely before updating.
-
#scm_type ⇒ :manual, ...
Type of SCM resource.
-
#scm_update_on_launch ⇒ :yes, ...
Before an update to the local repository before launching a job with this project.
-
#scm_url ⇒ Object?
URL of SCM resource.
-
#state ⇒ :present, ...
Desired state of the resource.
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 Description to use for the project.
16 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb', line 16 attribute :description |
#local_path ⇒ Object?
Returns The server playbook directory for manual projects.
27 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb', line 27 attribute :local_path |
#name ⇒ String
Returns Name to use for the project.
12 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb', line 12 attribute :name |
#organization ⇒ String?
Returns Primary key of organization for project.
48 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb', line 48 attribute :organization |
#scm_branch ⇒ Object?
Returns The branch to use for the SCM resource.
30 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb', line 30 attribute :scm_branch |
#scm_clean ⇒ :yes, ...
Returns Remove local modifications before updating.
36 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb', line 36 attribute :scm_clean |
#scm_credential ⇒ Object?
Returns Name of the credential to use with this SCM resource.
33 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb', line 33 attribute :scm_credential |
#scm_delete_on_update ⇒ :yes, ...
Returns Remove the repository completely before updating.
40 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb', line 40 attribute :scm_delete_on_update |
#scm_type ⇒ :manual, ...
Returns Type of SCM resource.
20 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb', line 20 attribute :scm_type |
#scm_update_on_launch ⇒ :yes, ...
Returns Before an update to the local repository before launching a job with this project.
44 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb', line 44 attribute :scm_update_on_launch |
#scm_url ⇒ Object?
Returns URL of SCM resource.
24 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb', line 24 attribute :scm_url |
#state ⇒ :present, ...
Returns Desired state of the resource.
52 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb', line 52 attribute :state |