Added restart mailu handlers

This commit is contained in:
Kevin Veen-Birkenbach 2020-12-27 20:17:17 +01:00
parent 7c3835d084
commit 9947591ddd
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
---
- name: "Restart Mailu"
- name: "restart mailu"
systemd:
name: mailu
state: restarted

View File

@ -15,13 +15,14 @@
- name: add docker-compose.yml
template: src=docker-compose.yml.j2 dest=/mailu/docker-compose.yml
notify: restart mailu
- name: add mailu.env
template: src=mailu.env.j2 dest=/mailu/mailu.env
notify: restart mailu
- name: "install mailu service"
copy:
src: "mailu.service"
dest: "/etc/systemd/system/mailu.service"
notify:
- "Restart Mailu"
notify: restart mailu