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

21 lines
565 B
YAML

---
- name: recreate mailu
command:
cmd: server_docker-compose -p mailu up -d --force-recreate
chdir: /home/administrator/server_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