diff --git a/roles/docker-container/templates/base.yml.j2 b/roles/docker-container/templates/base.yml.j2 index 47263b2c..aa9d57bd 100644 --- a/roles/docker-container/templates/base.yml.j2 +++ b/roles/docker-container/templates/base.yml.j2 @@ -7,5 +7,7 @@ {% endif %} logging: driver: journald - {{ lookup('template', 'roles/docker-container/templates/resource.yml.j2') | indent(4) }} +{% filter indent(4) %} + {% include 'roles/docker-container/templates/resource.yml.j2' %} +{% endfilter %} {{ "\n" }} \ No newline at end of file