Commit 2a57d15e authored by Simon Cornet's avatar Simon Cornet
Browse files

fix: keepalived config

parent a4309280
Loading
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -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 }}"
  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 }}
  }