community / community.general / 0.2.1 / lookup / manifold get credentials from Manifold.co Authors: Kyrylo Galanov (galanoff@gmail.com)community.general.manifold (0.2.1) — lookup
Install with ansible-galaxy collection install community.general:==0.2.1
collections: - name: community.general version: 0.2.1
Retrieves resources' credentials from Manifold.co
- name: all available resources debug: msg="{{ lookup('manifold', api_token='SecretToken') }}"
- name: all available resources for a specific project in specific team debug: msg="{{ lookup('manifold', api_token='SecretToken', project='poject-1', team='team-2') }}"
- name: two specific resources debug: msg="{{ lookup('manifold', 'resource-1', 'resource-2') }}"
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
_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