mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-05 09:00:36 +00:00
Refactor alarm composer and sys-service handling:
- Introduce dynamic SYSTEMCTL_ALARM_COMPOSER_SUBSERVICES based on Mailu token and MODE_RESET - Prevent inclusion of sys-ctl-alm-email when disabled - Add system_service_is_template flag to avoid state-setting on template services - Update notifications to reload daemon for @ template units - Align msmtp execution conditions See: https://chatgpt.com/share/692c7a71-afcc-800f-8aba-6800a042ce3b
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
- name: "Include dependent services for '{{ system_service_id }}'"
|
||||
include_role:
|
||||
name: '{{ item }}'
|
||||
loop:
|
||||
- sys-ctl-alm-telegram
|
||||
- sys-ctl-alm-email
|
||||
loop: '{{ SYSTEMCTL_ALARM_COMPOSER_SUBSERVICES }}'
|
||||
vars:
|
||||
flush_handlers: true
|
||||
system_service_timer_enabled: false
|
||||
|
||||
Reference in New Issue
Block a user