You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
7 years ago
..
api docs: PEP8 compliance (#24681) 8 years ago
bin Initial ansible-test sanity docs. (#26775) 7 years ago
docsite Allow variables to be passed in to template lookup plugin (#18662) 7 years ago
man added docs to CLI docstringsadded 8 years ago
templates Render returned dictionaries Fixes #24775 (#24777) 8 years ago