Optimized webserver on failure

This commit is contained in:
2025-08-20 04:12:42 +02:00
parent f477ee3731
commit 2708b67751
13 changed files with 46 additions and 33 deletions

View File

@@ -1,20 +1,20 @@
- block:
- name: Include dependencies
include_role:
name: '{{ item }}'
loop:
- dev-python-pip
- sys-ctl-alm-compose
- include_tasks: utils/run_once.yml
when: run_once_sys_ctl_hlth_webserver is not defined
- name: Include dependencies
include_role:
name: '{{ item }}'
loop:
- dev-python-pip
- sys-ctl-alm-compose
- name: Install required Python modules
community.general.pacman:
name: python-requests
state: present
- meta: flush_handlers
- include_role:
name: sys-service
vars:
system_service_on_calendar: "{{SYS_SCHEDULE_HEALTH_NGINX}}"
system_service_on_calendar: "{{ SYS_SCHEDULE_HEALTH_NGINX }}"
system_service_timer_enabled: true
system_service_tpl_on_failure: "{{ SYS_SERVICE_ON_FAILURE_COMPOSE }}"