added example keyring looukp

pull/4420/head
Brian Coca 2017-01-31 17:49:15 -05:00
parent 488acc750f
commit 114ef96572
1 changed files with 4 additions and 0 deletions

View File

@ -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)::