Update Haproxy for Horizon

Change-Id: I725efca9f26b73abd855e6fc90fc1694c4a9d22a
Parially-Implements: blueprint ansible-horizon
This commit is contained in:
Sam Yaple 2015-08-25 07:41:13 +00:00
parent 46ed803789
commit 2868390503

View File

@ -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'] %}