ansible/docs
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
..
api docs: PEP8 compliance (#24681) 2017-05-30 18:08:25 +01:00
bin Initial ansible-test sanity docs. (#26775) 2017-07-14 14:24:45 +01:00
docsite Allow variables to be passed in to template lookup plugin (#18662) 2017-08-02 09:29:27 +05:30
man added docs to CLI docstringsadded 2017-03-24 15:52:36 -04:00
templates Render returned dictionaries Fixes #24775 (#24777) 2017-05-18 15:13:33 +01:00