From 424065229cf694f2ee978ac2297ea298d237c742 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 27 Jan 2015 17:25:55 -0500 Subject: [PATCH] added example of url lookup --- docsite/rst/playbooks_lookups.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docsite/rst/playbooks_lookups.rst b/docsite/rst/playbooks_lookups.rst index 00ebb338b9..e85344ac42 100644 --- a/docsite/rst/playbooks_lookups.rst +++ b/docsite/rst/playbooks_lookups.rst @@ -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)::