computer-playbook/roles/docker-mailu/handlers/main.yml

21 lines
547 B
YAML
Raw Normal View History

2020-12-27 13:22:47 +01:00
---
2021-04-05 09:34:09 +02:00
- name: recreate mailu
2020-12-29 13:20:55 +01:00
command:
2023-04-19 00:03:13 +02:00
cmd: docker-compose -p mailu up -d --force-recreate
2023-04-26 11:52:11 +02:00
chdir: "{{path_docker_compose_files}}mailu/"
environment:
2021-10-21 09:09:23 +02:00
COMPOSE_HTTP_TIMEOUT: 900
DOCKER_CLIENT_TIMEOUT: 900
2021-04-05 12:32:55 +02:00
- name: "restart deploy-letsencrypt-mailu.service"
systemd:
name: deploy-letsencrypt-mailu.service
state: restarted
enabled: yes
daemon_reload: yes
2021-04-05 16:22:55 +02:00
- name: "restart deploy-letsencrypt-mailu.timer"
systemd:
name: deploy-letsencrypt-mailu.timer
state: restarted
enabled: yes
daemon_reload: yes