ansible / ansible.builtin / v2.9.27 / lookup / manifold get credentials from Manifold.co | "added in version" 2.8 of ansible.builtin" Authors: Kyrylo Galanov (galanoff@gmail.com)ansible.builtin.manifold (v2.9.27) — lookup
pip
Install with pip install ansible==2.9.27
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