kayobe/ansible/roles/kolla-build/templates/template-override.j2.j2
2017-05-09 14:10:58 +01:00

18 lines
391 B
Django/Jinja

# {{ ansible_managed }}
{% raw %}
{% extends parent_template %}
{% endraw %}
{% for block_name, block_contents in kolla_build_blocks.items() %}
{{ '{% block ' ~ block_name ~ ' %}' }}
{{ block_contents }}
{{ '{% endblock %}' }}
{% endfor %}
{% for var_name, var_value in kolla_build_customizations.items() %}
{{ '{% set ' ~ var_name ~ ' = ' ~ var_value | to_json ~ ' %}' }}
{% endfor %}