1ab8bc184c
Also included is removing the executable bit on haproxy.cfg.j2 as it should not have those permissions in the repo. It has no affect on the templating process. Change-Id: I9c76e528896bdf1799b8eeb62ae77bc4ad0b4449 Closes-Bug: #1482832
21 lines
391 B
Django/Jinja
21 lines
391 B
Django/Jinja
vrrp_script check_alive {
|
|
script "/check_alive.sh"
|
|
interval 2
|
|
fall 2
|
|
rise 10
|
|
}
|
|
|
|
vrrp_instance Floating {
|
|
state MASTER
|
|
interface {{ api_interface }}
|
|
virtual_router_id 51
|
|
priority {{ groups['haproxy'].index(inventory_hostname) }}
|
|
advert_int 1
|
|
virtual_ipaddress {
|
|
{{ kolla_internal_address }}
|
|
}
|
|
track_script {
|
|
check_alive
|
|
}
|
|
}
|