aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-08-25 07:41:13 +0000
committerSam Yaple <sam@yaple.net>2015-08-25 07:41:13 +0000
commit286839050382ca4cce5858dff2d4bbfb0c251997 (patch)
tree1dccf59458d316f07ea1fac268503c92b1ab93e5
parent46ed80378983bf97d8cd20da7834a870ec61fd60 (diff)
downloadkolla-286839050382ca4cce5858dff2d4bbfb0c251997.tar.gz
kolla-286839050382ca4cce5858dff2d4bbfb0c251997.zip
Update Haproxy for Horizon
Change-Id: I725efca9f26b73abd855e6fc90fc1694c4a9d22a Parially-Implements: blueprint ansible-horizon
-rw-r--r--ansible/roles/haproxy/templates/haproxy.cfg.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/roles/haproxy/templates/haproxy.cfg.j2 b/ansible/roles/haproxy/templates/haproxy.cfg.j2
index 257989bd3..128e1ff96 100644
--- a/ansible/roles/haproxy/templates/haproxy.cfg.j2
+++ b/ansible/roles/haproxy/templates/haproxy.cfg.j2
@@ -86,6 +86,12 @@ listen neutron_server
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + api_interface]['ipv4']['address'] }}:{{ neutron_server_port }} check inter 2000 rise 2 fall 5
{% endfor %}
+listen horizon
+ bind {{ kolla_internal_address }}:80
+{% for host in groups['horizon'] %}
+ server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + api_interface]['ipv4']['address'] }}:80 check inter 2000 rise 2 fall 5
+{% endfor %}
+
listen cinder_api
bind {{ kolla_internal_address }}:{{ cinder_api_port }}
{% for host in groups['cinder-api'] %}