ansible-roles/haproxy/handlers/main.yml

10 lines
180 B
YAML

---
- name: Restart haproxy
service: name=haproxy state=restarted
when: haproxy_enabled
- name: Reload haproxy
service: name=haproxy state=reloaded
when: haproxy_enabled