[EVO] Ajouter la source de l'unicast

This commit is contained in:
2023-09-26 16:40:09 +02:00
parent 0efc0c6887
commit 5fb881a549
2 changed files with 2 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ vrrp_instance VIP_{{ keepalived_uid }} {
advert_int 1
{% if keepalived_peers | length > 0 %}
unicast_src_ip {{ ansible_facts[keepalived_interface]['ipv4']['address'] }}
unicast_peer {
{% for peer in keepalived_peers %}
{% if peer != ansible_facts[keepalived_interface]['ipv4']['address'] %}