mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
63fdc3f08f
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
3 lines
83 B
Django/Jinja
3 lines
83 B
Django/Jinja
{% if par_var is defined %}
|
|
{% include 'for_loop_include_nested.j2' %}
|
|
{% endif %}
|