vagrant-ansible-docker/ansible/roles/traefik/handlers/main.yml

18 lines
427 B
YAML
Raw Normal View History

2022-10-09 14:56:26 +02:00
---
- name: reload docker via systemd
# reload : set things like "live-restore"
ansible.builtin.systemd:
name: docker
state: reloaded
listen: reload docker
- name: restart service docker
# then restart :
# - won't be disruptive with "live-restore"
# - necessary when changing "log-driver"
ansible.builtin.service:
name: docker
state: restarted
when: docker_live_restore
listen: reload docker