ansible/lib/ansible/plugins/lookup
Abhijit Menon-Sen 20b0716948 Allow variables to be passed in to template lookup plugin (#18662)
This allows a single template to be evaluated with different values in
the same task. For example, with a template like 'x:{{a}}', one could do
something like this:

    - foo:
        a: "{{ lookup('template', 'x.j2', template_vars=dict(a=foo[item])) }}"
        b: "{{ lookup('template', 'x.j2', template_vars=dict(a=bar[item])) }}"
      with_items:
        - x
        - y

…and "a" and "b" would expand to different strings based on what we
passed in to the template lookup.
2017-08-02 09:29:27 +05:30
..
__init__.py correct, cleanup & simplify dwim stack (#25956) 2017-07-03 15:27:53 -04:00
cartesian.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
chef_databag.py adding lookup plugin for chef_databags (#18403) 2017-07-27 16:42:32 -04:00
consul_kv.py Fix errors reported by pylint. (#23282) 2017-04-06 16:58:16 -07:00
credstash.py
csvfile.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
dict.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
dig.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
dnstxt.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
env.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
etcd.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
file.py
fileglob.py
filetree.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
first_found.py Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
flattened.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
hashi_vault.py Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
indexed_items.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
ini.py Fix _get_file_contents to return bytes and checking that a different file exists than it opens 2017-07-28 11:07:43 -07:00
inventory_hostnames.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
items.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
keyring.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
lastpass.py
lines.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
list.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
mongodb.py Fix up integer type detection on python3 (#25985) 2017-06-22 08:48:22 -04:00
nested.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
password.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
passwordstore.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
pipe.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
random_choice.py make random_choice more error resilient (#27380) 2017-07-31 11:44:53 -04:00
redis_kv.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
sequence.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
shelvefile.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
subelements.py Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
template.py Allow variables to be passed in to template lookup plugin (#18662) 2017-08-02 09:29:27 +05:30
together.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
url.py Optionally return raw data from URL lookup using split_lines=False 2017-05-12 11:02:49 -04:00