[FUNC] Ajouter la gestion de l'unicast
This commit is contained in:
parent
2ae07d3c35
commit
471eac3f12
@ -40,6 +40,12 @@ vrrp_instance VIP_{{ keepalived_uid }} {
|
||||
virtual_router_id {{ keepalived_uid }}
|
||||
advert_int 1
|
||||
|
||||
{% if keepalived_peers | length > 0 %}
|
||||
unicast_peer {
|
||||
{{ keepalived_peers | join('\n') }}
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
{% if keepalived_ipv4 | length > 0 %}
|
||||
virtual_ipaddress {
|
||||
{{ keepalived_ipv4 }} dev {{ keepalived_interface }} scope global
|
||||
|
Loading…
Reference in New Issue
Block a user