Skip to content
Snippets Groups Projects
Commit 755a7362 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Avoid multiple haproxy restarts after reconfiguration"

parents b1db4f5c 1efe0fe3
No related branches found
No related tags found
No related merge requests found
---
- 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 @@ ...@@ -18,6 +18,7 @@
- service.enabled | bool - service.enabled | bool
notify: notify:
- Waiting for haproxy to start - Waiting for haproxy to start
listen: "Restart haproxy container"
- name: Restart keepalived container - name: Restart keepalived container
vars: vars:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment