mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
188c3c608a
Per a change in jinja2 2.9, local variables no longer are prefixed with l_, so this updates AnsibleJ2Vars to pull in all locals (while excluding some) regardless of name. Fixes #20063 (cherry picked from commit 4d49b317929b86e1fc1b0cbace825ff73b372dc7)
3 lines
81 B
Django/Jinja
3 lines
81 B
Django/Jinja
{% for parent_item in parent_vars %}
|
|
{% include "subtemplate.j2" %}
|
|
{% endfor %}
|