aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/tacker/templates/haproxy-tacker-cfg.j2
blob: 6cb294accbe4bbc537de5d59346c3da87ec5f5ed (plain)
1
2
3
4
5
6
7
8
9
10
listen  proxy-tacker_api_cluster
    bind {{ internal_vip.ip }}:9890
    bind {{ public_vip.ip }}:9890
    mode tcp
    option tcp-check
    option tcplog
    balance source
{% for host,ip in haproxy_hosts.items() %}
    server {{ host }} {{ ip }}:9890 weight 1 check inter 2000 rise 2 fall 5
{% endfor %}