From 5490ae91cd85a65001d3c9df685b935c11e1378d Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Fri, 21 Jan 2022 14:52:16 +0100 Subject: WIP: Icinga2 improvements --- roles/icinga2/handlers/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'roles/icinga2/handlers') diff --git a/roles/icinga2/handlers/main.yml b/roles/icinga2/handlers/main.yml index 730742e..15e7fdf 100644 --- a/roles/icinga2/handlers/main.yml +++ b/roles/icinga2/handlers/main.yml @@ -5,3 +5,17 @@ state: restarted enabled: yes become: yes + +- name: Restart apache + systemd: + name: apache2 + state: restarted + enabled: yes + become: yes + +- name: Restart postfix + systemd: + name: postfix + state: restarted + enabled: yes + become: yes -- cgit v1.2.3