feat: add icinga restart handler

This commit is contained in:
2022-12-28 19:57:46 +01:00
parent 7e4929c869
commit 9591502e3c
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
- name: restart icinga
systemd:
name: icinga2
state: restarted

View File

@@ -53,8 +53,12 @@
- services_passive.conf
- services_passive_mail_extern.conf
- services_async.conf
notify:
- restart icinga
- name: Signal command loaded from monitoring tools
lineinfile:
path: /etc/icinga2/icinga2.conf
line: "include monitoring-tools/commands.d/signal-notify.conf"
notify:
- restart icinga