Surpress flushing of CSP and Webserver health checks during setup because tests will fail if procedures didn't finish

This commit is contained in:
2025-09-11 22:31:24 +02:00
parent a6e42bff9b
commit 54797aa65b
4 changed files with 6 additions and 2 deletions

View File

@@ -13,8 +13,11 @@
- include_role:
name: sys-service
vars:
system_service_suppress_flush: true # The healthcheck will just work after all routines passed
system_service_on_calendar: "{{ SYS_SCHEDULE_HEALTH_CSP_CRAWLER }}"
system_service_timer_enabled: true
system_service_tpl_on_failure: "{{ SYS_SERVICE_ON_FAILURE_COMPOSE }}"
system_service_tpl_timeout_start_sec: "{{ CURRENT_PLAY_DOMAINS_ALL | timeout_start_sec_for_domains }}"
system_service_tpl_exec_start: "{{ system_service_script_exec }} --nginx-config-dir={{ NGINX.DIRECTORIES.HTTP.SERVERS }}"
- include_tasks: utils/run_once.yml

View File

@@ -1,4 +1,3 @@
- block:
- include_tasks: 01_core.yml
- include_tasks: utils/run_once.yml
when: run_once_sys_ctl_hlth_csp is not defined