tombosmansibm.pleasant_lookup.password (1.1.0) — lookup

lookup passwords in Pleasant Password server.

| "added in version" 1.0.0 of tombosmansibm.pleasant_lookup"

Authors: Tom Bosmans

Install collection

Install with ansible-galaxy collection install tombosmansibm.pleasant_lookup:==1.1.0


Add to requirements.yml

  collections:
    - name: tombosmansibm.pleasant_lookup
      version: 1.1.0

Description

Returns the content of the URL requested to be used as data in play.

This is using Python Requests https://docs.python-requests.org/en/latest/api/

Inputs

    
force:
    default: false
    description: Whether or not to set "cache-control" header with value "no-cache"
    type: boolean

_terms:
    description: Pleasant password server url.  This will be removed in a future version.

verify:
    default: true
    description: Flag to control SSL certificate validation.  The path to a ca bundle
      ( eg. /etc/ssl/certs/ca-bundle.crt ) or true/false
    env:
    - name: PLEASANT_LOOKUP_CA_PATH
    ini:
    - key: ca_path
      section: pleasant_lookup
    vars:
    - name: pleasant_lookup_ca_path

headers:
    default:
      Content-Type: application/json
    description: HTTP request headers
    type: dictionary
    version_added: 1.0.5
    version_added_collection: tombosmansibm.pleasant_lookup

timeout:
    default: 5
    description: How long to wait for the server to send data before giving up
    env:
    - name: PLEASANT_LOOKUP_TIMEOUT
    ini:
    - key: timeout
      section: pleasant_lookup
    type: float
    vars:
    - name: pleasant_lookup_timeout

password:
    description: Password to authenticate to Pleasant
    type: string

username:
    description: Username to authenticate to Pleasant
    type: string

pleasant_host:
    description: Pleasant password server url. Use instead of the positional argument.
    env:
    - name: PLEASANT_HOST
    ini:
    - key: host
      section: pleasant_lookup
    type: string
    vars:
    - name: pleasant_host
    version_added: 1.1.0
    version_added_collection: tombosmansibm.pleasant_lookup

pleasant_search:
    default: null
    description: Item name to search
    type: string

pleasant_api_version:
    choices:
    - v5
    - v6
    - v7
    default: v5
    description: Version of the api.  Only v5 or v6.
    env:
    - name: PLEASANT_API_VERSION
    ini:
    - key: api_version
      section: pleasant_lookup
    type: string
    vars:
    - name: pleasant_api_version
    version_added: 1.1.0
    version_added_collection: tombosmansibm.pleasant_lookup

pleasant_filter_path:
    description: Limit to path.  A path starts with Root/
    type: string

pleasant_filter_username:
    description: Limit to this username
    type: string

Outputs

_list:
  description: list of password objects containing username, password, path
  elements: dict
  type: list