mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-13 20:31:24 +00:00
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)
4 lines
81 B
Django/Jinja
4 lines
81 B
Django/Jinja
{% for parent_item in parent_vars %}
|
|
{% include "subtemplate.j2" %}
|
|
{% endfor %}
|