Compare commits

..

2 Commits

Author SHA1 Message Date
eaee8cd2ae [EVO] Ajouter les scripts de notifications 2023-04-21 17:13:48 +02:00
4bc5f1e12a [EVO] Ajouter la gestion de l'unicast 2023-04-21 16:35:22 +02:00

View File

@ -42,11 +42,7 @@ vrrp_instance VIP_{{ keepalived_uid }} {
{% if keepalived_peers | length > 0 %}
unicast_peer {
{% for peer in keepalived_peers %}
{% if peer != ansible_facts[keepalived_interface]['ipv4']['address'] %}
{{ peer }}
{% endif %}
{% endfor %}
{{ keepalived_peers | join('\n') | indent(width=4) }}
}
{% endif %}