Wrapped docker compose file routines tasks in block for docker compose

This commit is contained in:
Kevin Veen-Birkenbach 2025-08-11 10:20:06 +02:00
parent b5d8ac5462
commit 3431796283
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E

View File

@ -20,12 +20,11 @@
include_tasks: "02_repository.yml"
when: docker_pull_git_repository | bool
- name: "Include routines file management routines for '{{application_id}}'."
include_tasks: "03_files.yml"
when: not docker_compose_skipp_file_creation | bool
- name: "Ensure that {{ docker_compose.directories.instance }} is up"
include_tasks: "04_ensure_up.yml"
- block:
- name: "Include file management routines for '{{application_id}}'."
include_tasks: "03_files.yml"
- name: "Ensure that {{ docker_compose.directories.instance }} is up"
include_tasks: "04_ensure_up.yml"
when: not docker_compose_skipp_file_creation | bool
- name: "flush database, docker and proxy for '{{ application_id }}'"