Skip to content
Snippets Groups Projects
Commit d55f2785 authored by root's avatar root Committed by serlex
Browse files

Allow outward_rabbitmq with enable_outward_rabbitmq

outward_rabbitmq is determined  using enable_outward_rabbitmq
property rather than current haproxy_enable_external_vip

Change-Id: Iee096ab50fd4d9f5f3fe05880d0e0a7842c59d0a
Closes-Bug: 1722854
parent 97cdf98f
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,6 @@ listen outward_rabbitmq_management ...@@ -49,7 +49,6 @@ listen outward_rabbitmq_management
{% for host in groups['outward-rabbitmq'] %} {% 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 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 %} {% endfor %}
{% if haproxy_enable_external_vip | bool %}
listen outward_rabbitmq_external listen outward_rabbitmq_external
mode tcp mode tcp
...@@ -62,7 +61,6 @@ listen outward_rabbitmq_external ...@@ -62,7 +61,6 @@ listen outward_rabbitmq_external
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endif %}
{% if enable_mongodb | bool %} {% if enable_mongodb | bool %}
listen mongodb listen mongodb
......
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