mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Merged client playbook and server playbook
This commit is contained in:
20
roles/server_docker-mailu/handlers/main.yml
Normal file
20
roles/server_docker-mailu/handlers/main.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: recreate mailu
|
||||
command:
|
||||
cmd: docker-compose -p mailu up -d --force-recreate
|
||||
chdir: /home/administrator/docker-compose/mailu/
|
||||
environment:
|
||||
COMPOSE_HTTP_TIMEOUT: 900
|
||||
DOCKER_CLIENT_TIMEOUT: 900
|
||||
- name: "restart deploy-letsencrypt-mailu.service"
|
||||
systemd:
|
||||
name: deploy-letsencrypt-mailu.service
|
||||
state: restarted
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
- name: "restart deploy-letsencrypt-mailu.timer"
|
||||
systemd:
|
||||
name: deploy-letsencrypt-mailu.timer
|
||||
state: restarted
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
Reference in New Issue
Block a user