haproxy/handlers/main.yaml

15 lines
314 B
YAML
Raw Normal View History

2023-02-07 22:36:25 +00:00
---
- name: Reload HAProxy
systemd:
name: "{{ haproxy_unit_name }}"
state: reloaded
daemon_reload: yes
when: haproxy_enable_and_start.changed
- name: Restart HAProxy
systemd:
name: "{{ haproxy_unit_name }}"
2023-02-07 22:36:25 +00:00
state: reloaded
daemon_reload: yes
when: haproxy_enable_and_start.changed