Placed docker compose flush more specific

This commit is contained in:
Kevin Veen-Birkenbach 2025-08-13 03:53:13 +02:00
parent e497c001d6
commit 58c64bd7c6
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
5 changed files with 7 additions and 8 deletions

View File

@ -1,6 +1,6 @@
# run_once_cmp_docker_proxy: deactivated
# To load the proxy first is just implemented due to some issues with BBB
# Load the proxy first, so that openresty handlers are flushed before the main docker compose
- name: "For '{{ application_id }}': include role srv-proxy-6-6-domain"
include_role:
name: srv-proxy-6-6-domain

View File

@ -2,5 +2,8 @@
- name: "For '{{ application_id }}': Load docker-compose"
include_role:
name: docker-compose
vars:
docker_compose_flush_handlers: true
docker_pull_git_repository: false # Deactivated here to deactivate inhirement
- include_tasks: utils/run_once.yml
when: run_once_svc_prx_openresty is not defined

View File

@ -8,7 +8,3 @@ database_type: ""
openresty_image: "openresty/openresty"
openresty_version: "alpine"
openresty_container: "{{ applications | get_app_conf(application_id, 'docker.services.openresty.name', True) }}"
# Docker
docker_compose_flush_handlers: true
docker_pull_git_repository: false # Deactivated here to don't inhire this

View File

@ -2,7 +2,8 @@
- name: "load docker, proxy for '{{application_id}}'"
include_role:
name: cmp-docker-proxy
vars:
docker_compose_flush_handlers: false
- name: "include 04_seed-database-to-backup.yml"
include_tasks: "{{ playbook_dir }}/roles/sys-bkp-docker-2-loc/tasks/04_seed-database-to-backup.yml"

View File

@ -16,5 +16,4 @@ http_port: "{{ ports.localhost.http[application_id] }}"
docker_compose_skipp_file_creation: true # Handled in this role
docker_repository_address: "{{ applications | get_app_conf(application_id, 'docker.services.bigbluebutton.repository') }}"
docker_repository_branch: "{{ applications | get_app_conf(application_id, 'docker.services.bigbluebutton.version') }}"
docker_pull_git_repository: true
docker_compose_flush_handlers: false
docker_pull_git_repository: true