Try moving notify script to a group
This commit is contained in:
parent
a1ed972e6f
commit
d6212c0b57
1 changed files with 7 additions and 1 deletions
|
@ -19,5 +19,11 @@ vrrp_instance VI_1 {
|
|||
priority {{ keepalived_priority }}
|
||||
virtual_ipaddress {
|
||||
{{ keepalived_ipaddress }}
|
||||
notify /usr/local/bin/keepalived-notify.sh
|
||||
}
|
||||
|
||||
vrrp_sync_group VG_1 {
|
||||
group {
|
||||
VI_1
|
||||
}
|
||||
notify /usr/local/bin/keepalived-notify.sh
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue