Made code more modular and refactored to cmp roles

This commit is contained in:
2025-07-09 20:15:32 +02:00
parent 993469fd82
commit 7a38241485
53 changed files with 184 additions and 397 deletions

View File

@@ -7,7 +7,7 @@
# This could lead to problems in docker-compose directories which are based on a git repository
# @todo Verify that this isn't the case. E.g. in accounting
- name: "Create all docker-compose directories (including parent directories)"
- name: "Create all docker-compose directories (including parent directories) for '{{ application_id }}'"
file:
path: "{{ item.value }}"
state: directory
@@ -18,4 +18,8 @@
when: docker_repository | bool
- include_tasks: "files.yml"
when: not docker_compose_skipp_file_creation | bool
when: not docker_compose_skipp_file_creation | bool
- name: "flush database, docker and proxy for '{{ application_id }}'"
meta: flush_handlers
when: docker_compose_flush_handlers is not defined