Difference between revisions of "Ansible lookup plugins"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
<nowiki> | <nowiki> | ||
+ | <pre> | ||
- name: 'you-name' | - name: 'you-name' | ||
value: "{{ lookup('env','YOUR_ENV_VARIABLE') }}" | value: "{{ lookup('env','YOUR_ENV_VARIABLE') }}" | ||
+ | </pre> | ||
</nowiki> | </nowiki> | ||
Revision as of 14:06, 1 December 2022
ansible-doc -t lookup -l plugins/lookup/
<pre> - name: 'you-name' value: "{{ lookup('env','YOUR_ENV_VARIABLE') }}" </pre>
Related
- Terraform lookup function
ansible-doc -t lookup -l
- Ansible plugins
- Ansible plugin: env
- Ansible modules
See also
Advertising: