mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-26 21:45:20 +02:00
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.
15 lines
451 B
YAML
15 lines
451 B
YAML
- block:
|
|
- name: Include dependencies
|
|
include_role:
|
|
name: '{{ item }}'
|
|
loop:
|
|
- sys-ctl-alm-telegram
|
|
- sys-ctl-alm-email
|
|
- name: "setup '{{ SYS_SERVICE_ALARM_CMP }}'"
|
|
template:
|
|
src: sys-ctl-alm-compose@.service.j2
|
|
dest: "/etc/systemd/system/{{ SYS_SERVICE_ALARM_CMP }}"
|
|
notify: "restart sys-ctl-alm-compose service"
|
|
- include_tasks: utils/run_once.yml
|
|
when: run_once_sys_ctl_alm_compose is not defined
|