ziouf / ziouf.tpm / 2021.7.27-1070151628 / module / password Create or update password | "added in version" 2.10.4 of ziouf.tpm" Authors: Cyril Marin (@ziouf)ziouf.tpm.password (2021.7.27-1070151628) — module
Install with ansible-galaxy collection install ziouf.tpm:==2021.7.27-1070151628
collections: - name: ziouf.tpm version: 2021.7.27-1070151628
This module create or updates password entry in your Team Password Manager instance
name: description: Password name required: true type: str tags: description: Tag list elements: str type: list email: description: email type: str notes: description: Free text note type: str state: choices: - present - absent - update description: '' required: true type: str password: description: If not defined, the value is generated with Team Password Manager api type: str username: description: Username type: str access_info: description: Url type: str expiry_date: description: 'Expiration date (fmt: yyyy-mm-dd)' type: str custom_data1: description: Custom data field type: str custom_data2: description: Custom data field type: str custom_data3: description: Custom data field type: str custom_data4: description: Custom data field type: str custom_data5: description: Custom data field type: str custom_data6: description: Custom data field type: str custom_data7: description: Custom data field type: str custom_data8: description: Custom data field type: str custom_data9: description: Custom data field type: str project_name: description: Project name type: str tpm_hostname: description: 'TeamPasswordManager api hostname (ex: my.compagny.com/tpm) Fallback to TPM_HOST environment variable if not defined ' required: true type: str tpm_password: description: 'TeamPasswordManager password for Basic auth Fallback to TPM_PASS environment variable if not defined ' type: str tpm_username: description: 'TeamPasswordManager login for Basic auth Fallback to TPM_USER environment variable if not defined ' type: str custom_data10: description: Custom data field type: str tpm_public_key: description: 'TeamPasswordManager public key for HMAC auth Fallback to TPM_PUBLIC_KEY environment variable if not defined ' type: str tpm_ssl_verify: default: true description: Validate or not SSL certificates on API connection type: bool tpm_private_key: description: 'TeamPasswordManager private key for HMAC auth Fallback to TPM_PRIVATE_KEY environment variable if not defined ' type: str
tpm: contains: access_info: description: Url returned: success type: str archived: description: Archived returned: success type: bool created_on: description: Creation date returned: success type: str custom_fieldN: contains: data: description: Custom type data returned: success type: str label: description: Custom type label returned: success type: str type: description: Can be one of 'Text', 'Encrypted text', 'E-mail' or 'email, 'Password', 'Notes', 'Encrypted notes' returned: success type: str description: Custom field returned: success type: complex email: description: email returned: success type: str expiry_date: description: Expiry date returned: success type: str expiry_status: description: 'has the following values: 0=no date or not expired, 1=expires today, 2=expired, 3=will expire soon' returned: success type: int id: description: Internal ID of the password entry returned: success sample: 1234 type: int locked: description: Locked returned: success type: bool name: description: Name of the password entry returned: success type: str notes: description: Notes returned: success type: str password: description: Password value returned: success type: str project: contains: id: description: Project ID returned: success sample: 1234 type: int name: description: Project name returned: success type: str description: Project returned: success type: complex tags: description: Tag list (comma separated) returned: success type: str updated_on: description: Last update date returned: success type: str username: description: Username returned: success type: str description: '' returned: success type: complex