mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-03 07:59:42 +00:00
14 lines
453 B
YAML
14 lines
453 B
YAML
- include_tasks: utils/run_once.yml
|
|
|
|
- name: Include dependencies
|
|
include_role:
|
|
name: "sys-svc-msmtp"
|
|
when: not run_once_sys_svc_msmtp | default(false)
|
|
|
|
- include_role:
|
|
name: sys-service
|
|
vars:
|
|
# If the email notifier fails, trigger the Telegram notifier,
|
|
# passing the failing unit's name as the instance text.
|
|
system_service_tpl_on_failure: "{{ ('sys-ctl-alm-telegram@') | get_service_name(SOFTWARE_NAME, False) }}%n.service"
|