diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2022-01-21 14:52:16 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2022-01-21 14:52:16 +0100 |
commit | 5490ae91cd85a65001d3c9df685b935c11e1378d (patch) | |
tree | ad6ec264d93a2456691bf0ee8109ebef729bd439 /roles/icinga2/handlers | |
parent | 41a475c5fb12d0bb82d596331796b8f375904c0a (diff) | |
download | ansible_collection-5490ae91cd85a65001d3c9df685b935c11e1378d.tar.gz |
WIP: Icinga2 improvements
Diffstat (limited to 'roles/icinga2/handlers')
-rw-r--r-- | roles/icinga2/handlers/main.yml | 14 |
1 files changed, 14 insertions, 0 deletions
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 |