Ansible lookup plugins

From wikieduonline
Revision as of 12:40, 12 December 2022 by Ant (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
ansible-doc -t lookup -l
plugins/lookup/ 

 - name: 'you-name'
   value: "{{ lookup('env','YOUR_ENV_VARIABLE') }}"


 - name: 'you-name'
   value: "{{ lookup('env','YOUR_ENV_VARIABLE') | [[string]] }}"

Related[edit]

See also[edit]

Advertising: