added example keyring looukp

This commit is contained in:
Brian Coca 2017-01-31 17:49:15 -05:00
commit 114ef96572

View file

@ -529,6 +529,10 @@ Here are some examples::
- "{{list2}}" - "{{list2}}"
- [1,2,3,4,5,6] - [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. 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):: These macros are evaluated each time they are used in a task (or template)::