mirror of
https://gitea.0xace.cc/ansible-galaxy/haproxy.git
synced 2024-11-25 00:16:39 +00:00
15 lines
314 B
YAML
15 lines
314 B
YAML
---
|
|
- 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 }}"
|
|
state: reloaded
|
|
daemon_reload: yes
|
|
when: haproxy_enable_and_start.changed
|