mirror of
https://gitea.0xace.cc/ansible-galaxy/haproxy.git
synced 2025-06-28 17:33:07 +00:00
haproxy: simplify versions tracking
This commit is contained in:
@ -4,11 +4,13 @@
|
||||
name: "{{ haproxy_unit_name }}"
|
||||
state: reloaded
|
||||
daemon_reload: yes
|
||||
when: haproxy_enable_and_start.changed
|
||||
masked: no
|
||||
when: not haproxy_enable_and_start.changed
|
||||
|
||||
- name: Restart HAProxy
|
||||
systemd:
|
||||
name: "{{ haproxy_unit_name }}"
|
||||
state: reloaded
|
||||
state: restarted
|
||||
daemon_reload: yes
|
||||
when: haproxy_enable_and_start.changed
|
||||
masked: no
|
||||
when: not haproxy_enable_and_start.changed
|
||||
|
Reference in New Issue
Block a user