mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
commit
990d08b63f
2 changed files with 52 additions and 0 deletions
|
@ -128,6 +128,10 @@ Here are some examples::
|
|||
|
||||
- debug: msg="{{ lookup('etcd', 'foo') }} is a value from a locally running etcd"
|
||||
|
||||
- debug: msg="{{item}}"
|
||||
with_url:
|
||||
- 'http://github.com/gremlin.keys'
|
||||
|
||||
As an alternative you can also assign lookup plugins to variables or use them
|
||||
elsewhere. This macros are evaluated each time they are used in a task (or
|
||||
template)::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue