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

18 lines
455 B
YAML

---
- name: recreate mailu
command:
cmd: docker-compose -p mailu up -d --force-recreate
chdir: /usr/local/bin/mailu/
- 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