kolla-ansible/ansible/roles/haproxy/templates/keepalived.conf.j2
Sam Yaple 1ab8bc184c Fixes group name for keepalived.conf
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
2015-08-08 05:28:07 +00:00

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
}
}