mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 20:51:07 +01:00
Added restart mailu handlers
This commit is contained in:
parent
7c3835d084
commit
9947591ddd
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: "Restart Mailu"
|
- name: "restart mailu"
|
||||||
systemd:
|
systemd:
|
||||||
name: mailu
|
name: mailu
|
||||||
state: restarted
|
state: restarted
|
||||||
|
@ -15,13 +15,14 @@
|
|||||||
|
|
||||||
- name: add docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=docker-compose.yml.j2 dest=/mailu/docker-compose.yml
|
template: src=docker-compose.yml.j2 dest=/mailu/docker-compose.yml
|
||||||
|
notify: restart mailu
|
||||||
|
|
||||||
- name: add mailu.env
|
- name: add mailu.env
|
||||||
template: src=mailu.env.j2 dest=/mailu/mailu.env
|
template: src=mailu.env.j2 dest=/mailu/mailu.env
|
||||||
|
notify: restart mailu
|
||||||
|
|
||||||
- name: "install mailu service"
|
- name: "install mailu service"
|
||||||
copy:
|
copy:
|
||||||
src: "mailu.service"
|
src: "mailu.service"
|
||||||
dest: "/etc/systemd/system/mailu.service"
|
dest: "/etc/systemd/system/mailu.service"
|
||||||
notify:
|
notify: restart mailu
|
||||||
- "Restart Mailu"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user