Files
community.general/docs/docsite/rst
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
..
2017-01-06 09:16:59 -05:00
2017-01-06 09:16:59 -05:00
2017-05-30 18:08:25 +01:00
2017-01-06 09:16:59 -05:00
2017-01-06 09:16:59 -05:00
2017-01-06 09:16:59 -05:00
2017-01-06 09:16:59 -05:00
2017-04-20 14:57:34 +01:00
2017-01-06 09:16:59 -05:00
2017-01-10 12:58:22 -08:00
2017-03-15 15:32:30 -04:00
2017-01-06 09:16:59 -05:00
2017-01-06 09:16:59 -05:00
2017-07-26 10:50:01 -04:00
2017-06-23 16:44:48 -04:00
2017-01-06 09:16:59 -05:00
2017-07-19 08:33:04 -04:00
2017-06-06 16:39:48 -05:00
2017-03-31 00:53:53 -04:00
2017-04-12 13:49:26 -04:00
2017-01-06 09:16:59 -05:00
2017-01-06 09:16:59 -05:00