Update macros.j2
This commit is contained in:
parent
4a6cb446a0
commit
a53a01b70f
@ -175,7 +175,7 @@ host {{ host.hostname }} {
|
|||||||
# {{ failover.comment }}
|
# {{ failover.comment }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
failover peer "{{ failover.failover }}" {
|
failover peer "{{ failover.failover }}" {
|
||||||
{% if failover.primary is defined and failover.primary in ansible_all_ipv4_addresses %}
|
{% if failover.primary is defined and failover.primary in ansible_all_ipv4_addresses|d([]) %}
|
||||||
primary;
|
primary;
|
||||||
mclt {{ failover.mclt|default(3600) }};
|
mclt {{ failover.mclt|default(3600) }};
|
||||||
{% if failover.primary_fo_addr is defined and failover.primary_fo_addr %}
|
{% if failover.primary_fo_addr is defined and failover.primary_fo_addr %}
|
||||||
|
Loading…
Reference in New Issue
Block a user