Class: Ansible::Ruby::Modules::Tower_credential

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb

Overview

Create, update, or destroy Ansible Tower credentials. 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

#authorize:yes, ...

Returns Should use authorize for net type.

Returns:

  • (:yes, :no, nil)

    Should use authorize for net type.



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

attribute :authorize

#authorize_passwordObject?

Returns Password for net credentials that require authorize.

Returns:

  • (Object, nil)

    Password for net credentials that require authorize.



56
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 56

attribute :authorize_password

#become_method:None, ...

Returns Become method to Use for privledge escalation.

Returns:

  • (:None, :sudo, :su, :pbrun, :pfexec, :pmrun, nil)

    Become method to Use for privledge escalation.



77
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 77

attribute :become_method

#become_passwordObject?

Returns Become password. Use ASK for prompting.

Returns:

  • (Object, nil)

    Become password. Use ASK for prompting.



84
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 84

attribute :become_password

#become_usernameObject?

Returns Become username. Use ASK for prompting.

Returns:

  • (Object, nil)

    Become username. Use ASK for prompting.



81
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 81

attribute :become_username

#clientObject?

Returns Client or application ID for azure_rm type.

Returns:

  • (Object, nil)

    Client or application ID for azure_rm type.



59
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 59

attribute :client

#descriptionString?

Returns The description to use for the credential.

Returns:

  • (String, nil)

    The description to use for the credential.



16
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 16

attribute :description

#domainObject?

Returns Domain for openstack type.

Returns:

  • (Object, nil)

    Domain for openstack type.



74
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 74

attribute :domain

#hostObject?

Returns Host for this credential.

Returns:

  • (Object, nil)

    Host for this credential.



37
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 37

attribute :host

#kind:ssh, ...

Returns Type of credential being added.

Returns:

  • (:ssh, :vault, :net, :scm, :aws, :vmware, :satellite6, :cloudforms, :gce, :azure_rm, :openstack, :rhv, :insights, :tower)

    Type of credential being added.



33
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 33

attribute :kind

#nameString

Returns The name to use for the credential.

Returns:

  • (String)

    The name to use for the credential.



12
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 12

attribute :name

#organizationString?

Returns Organization that should own the credential.

Returns:

  • (String, nil)

    Organization that should own the credential.



29
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 29

attribute :organization

#passwordObject?

Returns Password for this credential. Use ASK for prompting. secret_key for AWS. api_key for RAX.

Returns:

  • (Object, nil)

    Password for this credential. Use ASK for prompting. secret_key for AWS. api_key for RAX.



43
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 43

attribute :password

#projectObject?

Returns Project that should for this credential.

Returns:

  • (Object, nil)

    Project that should for this credential.



26
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 26

attribute :project

#secretObject?

Returns Secret token for azure_rm type.

Returns:

  • (Object, nil)

    Secret token for azure_rm type.



65
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 65

attribute :secret

#security_tokenObject?

Returns STS token for aws type.

Returns:

  • (Object, nil)

    STS token for aws type.



62
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 62

attribute :security_token

#ssh_key_dataObject?

Returns Path to SSH private key.

Returns:

  • (Object, nil)

    Path to SSH private key.



46
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 46

attribute :ssh_key_data

#ssh_key_unlockObject?

Returns Unlock password for ssh_key. Use ASK for prompting.

Returns:

  • (Object, nil)

    Unlock password for ssh_key. Use ASK for prompting.



49
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 49

attribute :ssh_key_unlock

#state:present, ...

Returns Desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Desired state of the resource.



90
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 90

attribute :state

#subscriptionObject?

Returns Subscription ID for azure_rm type.

Returns:

  • (Object, nil)

    Subscription ID for azure_rm type.



68
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 68

attribute :subscription

#teamObject?

Returns Team that should own this credential.

Returns:

  • (Object, nil)

    Team that should own this credential.



23
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 23

attribute :team

#tenantObject?

Returns Tenant ID for azure_rm type.

Returns:

  • (Object, nil)

    Tenant ID for azure_rm type.



71
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 71

attribute :tenant

#userObject?

Returns User that should own this credential.

Returns:

  • (Object, nil)

    User that should own this credential.



20
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 20

attribute :user

#usernameObject?

Returns Username for this credential. access_key for AWS.

Returns:

  • (Object, nil)

    Username for this credential. access_key for AWS.



40
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 40

attribute :username

#vault_passwordObject?

Returns Vault password. Use ASK for prompting.

Returns:

  • (Object, nil)

    Vault password. Use ASK for prompting.



87
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/ansible_tower/tower_credential.rb', line 87

attribute :vault_password