ansible-role-docker-swarm/handlers/main.yml

5 lines
171 B
YAML

---
- name: Reload the HAPROXY configuration
ansible.builtin.shell: docker kill --signal USR2 $(docker container ls --filter name=haproxy --quiet)
ignore_errors: true