ziouf.tpm.project (2021.7.27-1070151628) — module

Create or update project

| "added in version" 2.10.4 of ziouf.tpm"

Authors: Cyril Marin (@ziouf)

Install collection

Install with ansible-galaxy collection install ziouf.tpm:==2021.7.27-1070151628


Add to requirements.yml

  collections:
    - name: ziouf.tpm
      version: 2021.7.27-1070151628

Description

This module create or updates password entry in TeamPasswordManager instance

Inputs

    
name:
    description: Project name
    required: true
    type: str

tags:
    description: Tag list of the project
    elements: str
    type: list

notes:
    description: Free text notes
    type: str

state:
    choices:
    - present
    - absent
    - update
    description: ''
    required: true
    type: str

parent_id:
    description: Project parent id
    type: int

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

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

Outputs

tpm:
  contains:
    archived:
      description: Archived
      returned: success
      type: bool
    created_on:
      description: Creation date
      returned: success
      type: str
    id:
      description: Internal ID of the password entry
      returned: success
      sample: 1234
      type: int
    name:
      description: Name of the password entry
      returned: success
      sample: 1234
      type: str
    notes:
      description: Notes
      returned: success
      type: str
    parent_id:
      description: Parent id of the project
      returned: success
      type: int
    tags:
      description: Tag list (comma separated)
      returned: success
      type: str
    updated_on:
      description: Last update date
      returned: success
      type: str
  description: ''
  returned: success
  type: dict