mirror of
https://gitea.0xace.cc/ansible-galaxy/haproxy.git
synced 2025-06-28 17:33:07 +00:00
split variables for RedHat and Debain os family
This commit is contained in:
@ -1,7 +1,14 @@
|
||||
---
|
||||
- name: Reload HAProxy
|
||||
systemd:
|
||||
name: haproxy
|
||||
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
|
||||
|
Reference in New Issue
Block a user