Compare commits
2 Commits
3f2191b59e
...
eaee8cd2ae
Author | SHA1 | Date | |
---|---|---|---|
eaee8cd2ae | |||
4bc5f1e12a |
@ -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 %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user