ansible/roles/haproxy/handlers/main.yml

17 lines
392 B
YAML

---
- name: Reload s6-rc
service:
name: s6-rc
state: reloaded
- name: Restart HAProxy
command: s6-svc -wU -T 5000 -ru /run/service/haproxy
- name: Restart HAProxy log
command: s6-svc -wU -T 5000 -ru /run/service/haproxy-log
- name: Reload HAProxy
command: s6-svc -2 /run/service/haproxy
- name: Restart acme-renew
command: s6-svc -wU -T 5000 -ru /run/service/acme-renew