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/test/integration/targets/template/templates/72615-macro.j2

9 lines
281 B
Django/Jinja

{% macro print_context_vars(value) %}
{{ foo }}
{{ value }}
{% set foo = "template-nested-level-foo" %}
{% set bar = "template-nested-level-bar" %}
{% from '72615-macro-nested.j2' import print_context_vars_nested with context %}
{{ print_context_vars_nested(bar) }}
{% endmacro %}