diff --git a/roles/frr/templates/frr.conf.j2 b/roles/frr/templates/frr.conf.j2 index ec691ee..08ae039 100644 --- a/roles/frr/templates/frr.conf.j2 +++ b/roles/frr/templates/frr.conf.j2 @@ -29,7 +29,7 @@ router bgp {{ asn.asn }} neighbor fabric route-map local out exit-address-family -{% if cluster.custom_fields and cluster.custom_fields.vlans %} +{% if cluster is defined and cluster.custom_fields and cluster.custom_fields.vlans %} address-family l2vpn evpn neighbor fabric activate neighbor fabric route-map local out