Merge pull request #12438 from lekum/doc_shelvefile_lookup

Update lookups doc with shelvefile example
This commit is contained in:
Toshio Kuratomi 2015-10-09 14:34:51 -07:00
commit 676e4232e3

View file

@ -273,6 +273,9 @@ Here are some examples::
- 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
- debug: msg="{{ lookup('shelvefile', 'file=path_to_some_shelve_file.db key=key_to_retrieve') }}
# The following lookups were added in 1.9
- debug: msg="{{item}}"
with_url: