Normalized run_once_, made openresty handlers without when aviable and forced flush in run_once when blocks to avoid handlers with when conditions

This commit is contained in:
2025-08-08 15:32:26 +02:00
parent e675aa5886
commit c7b25ed093
58 changed files with 410 additions and 293 deletions

View File

@@ -1,9 +1,9 @@
- name: "load docker, db and proxy for {{application_id}}"
include_role:
name: cmp-db-docker-proxy
when: run_once_docker_libretranslate is not defined
when: run_once_web_app_libretranslate is not defined
- name: run the libretranslate tasks once
set_fact:
run_once_docker_libretranslate: true
when: run_once_docker_libretranslate is not defined
run_once_web_app_libretranslate: true
when: run_once_web_app_libretranslate is not defined