bind haproxy to single interface

Change-Id: I0c9d85ec7da98d32b94d1e61538fe20333536d39
Closes-Bug: #1500159
This commit is contained in:
Sam Yaple 2015-09-27 08:52:21 +00:00
parent 9f99d63ea2
commit ae30857144

View File

@ -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 /