Class: Ansible::Ruby::Modules::Tower_project

Inherits:
Base show all
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

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 Description to use for the project.

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_pathObject?

Returns The server playbook directory for manual projects.

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

#nameString

Returns Name to use for the project.

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

#organizationString?

Returns Primary key of organization for project.

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_branchObject?

Returns The branch to use for the SCM resource.

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.

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_credentialObject?

Returns Name of the credential to use with this SCM resource.

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.

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.

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.

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_urlObject?

Returns URL of SCM resource.

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.

Returns:

  • Desired state of the resource.



52
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_project.rb', line 52

attribute :state