mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 09:13:12 +00:00
added example of url lookup
This commit is contained in:
@@ -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)::
|
||||
|
||||
Reference in New Issue
Block a user