Optimized Matomo role

This commit is contained in:
2025-07-09 10:59:36 +02:00
parent af3767fdfa
commit 46cf65f296
5 changed files with 67 additions and 46 deletions

View File

@@ -7,7 +7,17 @@
COMPOSE_HTTP_TIMEOUT: 600
DOCKER_CLIENT_TIMEOUT: 600
# default setup for docker compose files
- name: Validate Docker Compose configuration
command:
cmd: docker compose -f {{ docker_compose.files.docker_compose }} config --quiet
chdir: "{{ docker_compose.directories.instance }}"
register: dc_validate
changed_when: false
failed_when: dc_validate.rc != 0
listen:
- docker compose up
- docker compose restart
- name: docker compose up
shell: docker-compose -p {{ application_id }} up -d --force-recreate --remove-orphans --build
args: