Update macros.j2

This commit is contained in:
Thiago Talma 2016-07-18 11:11:58 -03:00 committed by GitHub
parent 4a6cb446a0
commit a53a01b70f

View File

@ -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 %}