Merge "Avoid multiple haproxy restarts after reconfiguration"
This commit is contained in:
commit
755a73626d
@ -1,17 +0,0 @@
|
||||
---
|
||||
- name: Restart haproxy container
|
||||
become: true
|
||||
kolla_docker:
|
||||
action: "restart_container"
|
||||
name: haproxy
|
||||
when:
|
||||
- kolla_action != "config"
|
||||
- inventory_hostname in groups['haproxy']
|
||||
- enable_haproxy | bool
|
||||
notify:
|
||||
- Waiting for haproxy to start
|
||||
|
||||
- name: Waiting for haproxy to start
|
||||
wait_for:
|
||||
host: "{{ api_interface_address }}"
|
||||
port: "{{ haproxy_stats_port }}"
|
@ -18,6 +18,7 @@
|
||||
- service.enabled | bool
|
||||
notify:
|
||||
- Waiting for haproxy to start
|
||||
listen: "Restart haproxy container"
|
||||
|
||||
- name: Restart keepalived container
|
||||
vars:
|
||||
|
Loading…
Reference in New Issue
Block a user