Solved multiple bugs and propably produced 100 more.... Usual Nightshift...

This commit is contained in:
2025-02-21 03:53:27 +01:00
parent 5694023da8
commit bdeaf14285
15 changed files with 30 additions and 41 deletions

View File

@@ -14,7 +14,7 @@
notify: docker compose project setup
register: env_template
- name: Check if docker compose has any running container and trigger setup if needed
- name: "Check if any container is running in {{ docker_compose.directories.instance }}"
command: docker compose ps -q --filter status=running
args:
chdir: "{{ docker_compose.directories.instance }}"
@@ -22,3 +22,6 @@
changed_when: (docker_ps.stdout | trim) == ""
notify: docker compose project setup
when: not (docker_compose_template.changed or env_template.changed)
- name: flush docker compose project setup
meta: flush_handlers