Files
homelab-infrastructure/ansible/roles/keepalived/templates/keepalived.conf.j2
T

20 lines
361 B
Django/Jinja

vrrp_instance VI_1 {
state MASTER
interface enp5s0
virtual_router_id 51
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
10.150.0.100
10.150.0.101
10.150.0.102
}
# Allow packets addressed to the VIPs above to be received
accept
}