ansible / ansible.builtin / v2.4.0.0-1 / module / tower_credential create, update, or destroy Ansible Tower credential. | "added in version" 2.3 of ansible.builtin" Authors: Wayne Witzel III (@wwitzel3) preview | supported by communityansible.builtin.tower_credential (v2.4.0.0-1) — module
pip
Install with pip install ansible==2.4.0.0.post1
Create, update, or destroy Ansible Tower credentials. See U(https://www.ansible.com/tower) for an overview.
- name: Add tower credential tower_credential: name: Team Name description: Team Description organization: test-org state: present tower_config_file: "~/tower_cli.cfg"
host: default: null description: - Host for this credential. required: false kind: choices: - ssh - net - scm - aws - rax - vmware - satellite6 - cloudforms - gce - azure - azure_rm - openstack description: - Type of credential being added. required: true name: description: - The name to use for the credential. required: true team: default: null description: - Team that should own this credential. required: false user: default: null description: - User that should own this credential. required: false state: choices: - present - absent default: present description: - Desired state of the resource. required: false client: default: null description: - Client or application ID for azure_rm type. required: false domain: default: null description: - Domain for openstack type. required: false secret: default: null description: - Secret token for azure_rm type. required: false tenant: default: null description: - Tenant ID for azure_rm type. required: false project: default: null description: - Project that should for this credential. required: false password: default: null description: - Password for this credential. Use ASK for prompting. secret_key for AWS. api_key for RAX. required: false username: default: null description: - Username for this credential. access_key for AWS. required: false authorize: default: false description: - Should use authroize for net type. required: false tower_host: default: null description: - URL to your Tower instance. required: false description: description: - The description to use for the credential. organization: default: null description: - Organization that should own the credential. required: false ssh_key_data: default: null description: - Path to SSH private key. required: false subscription: default: null description: - Subscription ID for azure_rm type. required: false become_method: choices: - None - sudo - su - pbrun - pfexec - pmrun default: None description: - Become method to Use for privledge escalation. required: false ssh_key_unlock: description: - Unlock password for ssh_key. Use ASK for prompting. tower_password: default: null description: - Password for your Tower instance. required: false tower_username: default: null description: - Username for your Tower instance. required: false vault_password: description: - Valut password. Use ASK for prompting. become_password: default: null description: - Become password. Use ASK for prompting. required: false become_username: default: null description: - Become username. Use ASK for prompting. required: false tower_verify_ssl: default: true description: - Dis/allow insecure connections to Tower. If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. required: false tower_config_file: default: null description: - Path to the Tower config file. See notes. required: false authorize_password: default: null description: - Password for net credentials that require authroize. required: false