fix: keepalived config

This commit is contained in:
Simon Cornet 2026-03-06 07:56:24 +01:00
commit 2a57d15ee5

View file

@ -3,12 +3,14 @@ global_defs {
router_id {{ keepalived_id }}
vrrp_check_unicast_src
vrrp_skip_check_adv_addr
enable_script_security
}
vrrp_script chk_script {
script "/usr/bin/pgrep {{ keepalived_chk_service }}"
script "/usr/bin/pgrep {{ keepalived_chk_service }}"
interval 1
weight 2
user root
}
vrrp_instance VI_1 {
@ -22,11 +24,6 @@ vrrp_instance VI_1 {
interface {{ keepalived_interface }}
unicast_src_ip {{ keepalived_unicast_src_ip }}
authentication {
auth_type PASS
auth_pass {{ keepalived_auth_pass }}
}
unicast_peer {
{{ keepalived_unicast_peer }}
}