"Fossies" - the Fresh Open Source Software Archive

Member "ansible-2.9.27/test/integration/targets/template/templates/72615-macro.j2" (11 Oct 2021, 281 Bytes) of package /linux/misc/ansible-2.9.27.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {% macro print_context_vars(value) %}
    2 {{ foo }}
    3 {{ value }}
    4 {% set foo = "template-nested-level-foo" %}
    5 {% set bar = "template-nested-level-bar" %}
    6 {% from '72615-macro-nested.j2' import print_context_vars_nested with context %}
    7 {{ print_context_vars_nested(bar) }}
    8 {% endmacro %}