diff --git a/ansible/roles/haproxy-config/handlers/main.yml b/ansible/roles/haproxy-config/handlers/main.yml deleted file mode 100644 index dc4b1305f2..0000000000 --- a/ansible/roles/haproxy-config/handlers/main.yml +++ /dev/null @@ -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 }}" diff --git a/ansible/roles/haproxy/handlers/main.yml b/ansible/roles/haproxy/handlers/main.yml index 60fa5a03e3..cec9b97acf 100644 --- a/ansible/roles/haproxy/handlers/main.yml +++ b/ansible/roles/haproxy/handlers/main.yml @@ -18,6 +18,7 @@ - service.enabled | bool notify: - Waiting for haproxy to start + listen: "Restart haproxy container" - name: Restart keepalived container vars: