mirror of
https://gitea.0xace.cc/ansible-galaxy/haproxy.git
synced 2024-11-25 00:16:39 +00:00
17 lines
353 B
YAML
17 lines
353 B
YAML
---
|
|
- name: Reload HAProxy
|
|
systemd:
|
|
name: "{{ haproxy_unit_name }}"
|
|
state: reloaded
|
|
daemon_reload: yes
|
|
masked: no
|
|
when: not haproxy_enable_and_start.changed
|
|
|
|
- name: Restart HAProxy
|
|
systemd:
|
|
name: "{{ haproxy_unit_name }}"
|
|
state: restarted
|
|
daemon_reload: yes
|
|
masked: no
|
|
when: not haproxy_enable_and_start.changed
|