feat: icinga mail notifications

This commit is contained in:
2023-03-15 16:40:20 +01:00
parent e3953b1810
commit 9d51c3fa74
7 changed files with 70 additions and 1 deletions

View File

@@ -90,6 +90,18 @@
notify:
- restart icinga
- name: Template icinga configuration
template:
src: "{{ item }}"
dest: /etc/icinga2/conf.d/
owner: root
group: nagios
mode: 0640
with_items:
- mail_notifications.conf
notify:
- restart icinga
- name: Change icinga log level
lineinfile:
path: /etc/icinga2/features-enabled/mainlog.conf