diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-09-28 10:40:07 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-09-28 10:40:07 +0000 |
| commit | fea0f07c089683c9a1061833fa2533f994fe9198 (patch) | |
| tree | 961fdb568d95796b8134d10f28230627c0048aca | |
| parent | b283066e299567ac4af7e13398ccf14ff20bfdad (diff) | |
| parent | ae308571440c4d803dce7cf24afe48d51872ed42 (diff) | |
| download | kolla-fea0f07c089683c9a1061833fa2533f994fe9198.tar.gz kolla-fea0f07c089683c9a1061833fa2533f994fe9198.zip | |
Merge "bind haproxy to single interface"
| -rw-r--r-- | ansible/roles/haproxy/templates/haproxy.cfg.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/haproxy/templates/haproxy.cfg.j2 b/ansible/roles/haproxy/templates/haproxy.cfg.j2 index da43239da..637cb1ce1 100644 --- a/ansible/roles/haproxy/templates/haproxy.cfg.j2 +++ b/ansible/roles/haproxy/templates/haproxy.cfg.j2 @@ -14,7 +14,7 @@ defaults timeout server 1m timeout check 10s -listen stats :{{ haproxy_stats_port }} +listen stats {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}:{{ haproxy_stats_port }} mode http stats enable stats uri / |
