diff --git a/ansible/roles/haproxy/templates/haproxy.cfg.j2 b/ansible/roles/haproxy/templates/haproxy.cfg.j2 index 837ec8630e..726fa7f742 100644 --- a/ansible/roles/haproxy/templates/haproxy.cfg.j2 +++ b/ansible/roles/haproxy/templates/haproxy.cfg.j2 @@ -49,7 +49,6 @@ listen outward_rabbitmq_management {% for host in groups['outward-rabbitmq'] %} server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ outward_rabbitmq_management_port }} check inter 2000 rise 2 fall 5 {% endfor %} -{% if haproxy_enable_external_vip | bool %} listen outward_rabbitmq_external mode tcp @@ -62,7 +61,6 @@ listen outward_rabbitmq_external {% endfor %} {% endif %} {% endif %} -{% endif %} {% if enable_mongodb | bool %} listen mongodb