ansible.builtin.manifold (v2.9.27) — lookup

get credentials from Manifold.co

| "added in version" 2.8 of ansible.builtin"

Authors: Kyrylo Galanov (galanoff@gmail.com)

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Retrieves resources' credentials from Manifold.co

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: all available resources
      debug: msg="{{ lookup('manifold', api_token='SecretToken') }}"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: all available resources for a specific project in specific team
      debug: msg="{{ lookup('manifold', api_token='SecretToken', project='poject-1', team='team-2') }}"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: two specific resources
      debug: msg="{{ lookup('manifold', 'resource-1', 'resource-2') }}"

Inputs

    
team:
    description:
    - The team label you want to get the resource for.
    required: false
    type: string

_terms:
    description:
    - Optional list of resource labels to lookup on Manifold.co. If no resources are specified,
      all matched resources will be returned.
    elements: string
    required: false
    type: list

project:
    description:
    - The project label you want to get the resource for.
    required: false
    type: string

api_token:
    description:
    - manifold API token
    env:
    - name: MANIFOLD_API_TOKEN
    required: true
    type: string

Outputs

_raw:
  description:
  - dictionary of credentials ready to be consumed as environment variables. If multiple
    resources define the same environment variable(s), the last one returned by the
    Manifold API will take precedence.
  type: dict