1 # {{ cephadm_managed }}
2 vrrp_script check_backend {
10 {% for x in range(virtual_ips|length) %}
11 vrrp_instance VI_{{ x }} {
13 priority {{ priorities[x] }}
14 interface {{ interface }}
15 virtual_router_id {{ 50 + x }}
19 auth_pass {{ password }}
21 unicast_src_ip {{ host_ip }}
23 {% for ip in other_ips %}
28 {{ virtual_ips[x] }} dev {{ interface }}