Merge "Avoid multiple haproxy restarts after reconfiguration"

This commit is contained in:
Zuul 2020-04-26 15:41:31 +00:00 committed by Gerrit Code Review
commit 755a73626d
2 changed files with 1 additions and 17 deletions

View File

@ -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 }}"

View File

@ -18,6 +18,7 @@
- service.enabled | bool
notify:
- Waiting for haproxy to start
listen: "Restart haproxy container"
- name: Restart keepalived container
vars: