I know, the question is rather old but I found a nice solution to this problem.
You can apply filters to whole text blocks: Template Designer Documentation / Filters
{% filter indent(width=4) %}
{% include "./sub-template.yml.j2" %}
{% endfilter %}
I know, the question is rather old but I found a nice solution to this problem.
You can apply filters to whole text blocks: Template Designer Documentation / Filters
{% filter indent(width=4) %}
{% include "./sub-template.yml.j2" %}
{% endfilter %}