added example of url lookup
This commit is contained in:
parent
418e24cc6c
commit
424065229c
1 changed files with 4 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…
Reference in a new issue