From 24e4f17d0c959ee14c3488bda77b4cd39160647c Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 28 Aug 2024 12:39:51 +0200 Subject: [PATCH] =?UTF-8?q?frr:=20don=E2=80=99t=20use=20undefined=20variab?= =?UTF-8?q?le?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/frr/templates/frr.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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