Refactor docker-compose templates: replace {% include 'build.yml.j2' %} with lookup() + indent for proper YAML embedding. Also adjusted build.yml.j2 to remove leading spaces. See: https://chatgpt.com/share/68ce584a-a430-800f-8e2a-0f96884cc8d1

This commit is contained in:
2025-09-20 09:31:49 +02:00
parent 08ac8b6a9d
commit d523629cdd
14 changed files with 22 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
{% include 'roles/docker-compose/templates/base.yml.j2' %}
application:
{% include 'roles/docker-container/templates/build.yml.j2' %}
{{ lookup('template', 'roles/docker-container/templates/build.yml.j2') | indent(4) }}
args:
CHESS_VERSION: "{{ CHESS_VERSION }}"
CHESS_REPO_URL: "{{ CHESS_REPO_URL }}"