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:

  • (String, nil)

    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:

  • (Object, nil)

    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:

  • (String)

    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:

  • (String, nil)

    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:

  • (Object, nil)

    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:

  • (:yes, :no, nil)

    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:

  • (Object, nil)

    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:

  • (:yes, :no, nil)

    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:

  • (:manual, :git, :hg, :svn, nil)

    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:

  • (:yes, :no, nil)

    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:

  • (Object, nil)

    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:

  • (:present, :absent, nil)

    Desired state of the resource.



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

attribute :state