ansible/roles/network/templates/keepalived.conf.j2
Timo Makinen c91db784e1 network: Use insecure password for keepalived
Using AH based authentication generates duplicate announces from master:

  IPSEC-AH : sequence number 34831 already processed. Packet dropped.

Use insecure (unencrypted) authentication for announcement pakets until
this is sorted out.
2021-03-19 21:21:27 +00:00

22 lines
415 B
Django/Jinja

! {{ ansible_managed }}
global_defs {
}
{% for vip in network_vip_interfaces %}
vrrp_instance VI_{{ vip.vhid }} {
interface {{ vip.device }}
virtual_router_id {{ vip.vhid }}
{% if vip.priority is defined %}
priority {{ vip.priority }}
{% endif %}
authentication {
auth_type PASS
auth_pass {{ vip.pass }}
}
virtual_ipaddress {
{{ vip.ipaddr }}
}
}
{% endfor %}