diff options
| author | Sam Yaple <sam@yaple.net> | 2015-08-25 07:41:13 +0000 |
|---|---|---|
| committer | Sam Yaple <sam@yaple.net> | 2015-08-25 07:41:13 +0000 |
| commit | 286839050382ca4cce5858dff2d4bbfb0c251997 (patch) | |
| tree | 1dccf59458d316f07ea1fac268503c92b1ab93e5 | |
| parent | 46ed80378983bf97d8cd20da7834a870ec61fd60 (diff) | |
| download | kolla-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.j2 | 6 |
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'] %} |
