1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

added example of url lookup

This commit is contained in:
Brian Coca 2015-01-27 17:25:55 -05:00
parent 418e24cc6c
commit 424065229c

View file

@ -128,6 +128,10 @@ Here are some examples::
- debug: msg="{{ lookup('etcd', 'foo') }} is a value from a locally running etcd" - 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 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 elsewhere. This macros are evaluated each time they are used in a task (or
template):: template)::