mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 17:23:09 +00:00
This fixes a bug when parent's local vars where not available in nested includes. The bug can only be seen with jinja>=2.9 which changes how the variable scopes work. Fixes #34886
4 lines
83 B
Django/Jinja
4 lines
83 B
Django/Jinja
{% if par_var is defined %}
|
|
{% include 'for_loop_include_nested.j2' %}
|
|
{% endif %}
|