mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
added example keyring looukp
This commit is contained in:
parent
488acc750f
commit
114ef96572
1 changed files with 4 additions and 0 deletions
|
@ -529,6 +529,10 @@ Here are some examples::
|
|||
- "{{list2}}"
|
||||
- [1,2,3,4,5,6]
|
||||
|
||||
- name: Added in 2.3 allows using the system's keyring
|
||||
debug: msg={{lookup('keyring','myservice myuser')}}
|
||||
|
||||
|
||||
As an alternative, you can also assign lookup plugins to variables or use them elsewhere.
|
||||
These macros are evaluated each time they are used in a task (or template)::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue