diff options
author | Jens Peter Schroer <jens.schroer@scypho.com> | 2015-10-30 10:34:47 +0100 |
---|---|---|
committer | Jens Peter Schroer <jens.schroer@scypho.com> | 2015-10-30 10:34:47 +0100 |
commit | 9f2baf3f8496b01f04973b0f0d41dbf2867e7768 (patch) | |
tree | bdf04ede13852e9be187177830c383a0624e8f60 /docsite | |
parent | allowing json in lookup template calls (diff) | |
download | ansible-9f2baf3f8496b01f04973b0f0d41dbf2867e7768.tar.xz ansible-9f2baf3f8496b01f04973b0f0d41dbf2867e7768.zip |
adding documentation
Diffstat (limited to 'docsite')
-rw-r--r-- | docsite/rst/playbooks_lookups.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docsite/rst/playbooks_lookups.rst b/docsite/rst/playbooks_lookups.rst index 9638411a1a..fc6559e0e6 100644 --- a/docsite/rst/playbooks_lookups.rst +++ b/docsite/rst/playbooks_lookups.rst @@ -271,6 +271,10 @@ Here are some examples:: - debug: msg="{{ lookup('template', './some_template.j2') }} is a value from evaluation of this template" + # loading a json file from a template as a string + - debug: msg="{{ lookup('template', './some_json.json.j2', convert_data=False) }} is a value from evaluation of this template" + + - debug: msg="{{ lookup('etcd', 'foo') }} is a value from a locally running etcd" # shelvefile lookup retrieves a string value corresponding to a key inside a Python shelve file |