mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Refactor systemctl services and categories due to alarm bugs
This commit restructures systemctl service definitions and category mappings. Motivation: Alarm-related bugs revealed inconsistencies in service and role handling. Preparation step: lays the groundwork for fixing the alarm issues by aligning categories, roles, and service templates.
This commit is contained in:
12
roles/sys-ctl-hlth-csp/handlers/main.yml
Normal file
12
roles/sys-ctl-hlth-csp/handlers/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- name: "reload sys-ctl-hlth-csp service"
|
||||
systemd:
|
||||
name: sys-ctl-hlth-csp{{ SYS_SERVICE_SUFFIX }}
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
async: "{{ ASYNC_TIME if ASYNC_ENABLED | bool else omit }}"
|
||||
poll: "{{ ASYNC_POLL if ASYNC_ENABLED | bool else omit }}"
|
||||
|
||||
- name: rebuild checkcsp docker image
|
||||
shell: checkcsp build
|
||||
async: "{{ ASYNC_TIME if ASYNC_ENABLED | bool else omit }}"
|
||||
poll: "{{ ASYNC_POLL if ASYNC_ENABLED | bool else omit }}"
|
Reference in New Issue
Block a user