network: Write keepalived interface status to file
This commit is contained in:
parent
d6cc79dcb3
commit
043104f062
4 changed files with 60 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
! {{ ansible_managed }}
|
||||
|
||||
global_defs {
|
||||
|
||||
script_user keepalived
|
||||
}
|
||||
|
||||
{% for vip in network_vip_interfaces %}
|
||||
|
@ -18,5 +18,6 @@ vrrp_instance VI_{{ vip.vhid }} {
|
|||
virtual_ipaddress {
|
||||
{{ vip.ipaddr }}
|
||||
}
|
||||
notify /usr/local/libexec/keepalived-notify
|
||||
}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue