From ed0f4b4bff46af341eff56fb1f0ff09a209d89f3 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 3 Apr 2025 18:42:23 +0200 Subject: [PATCH] fabric: make some space Oops, missed a spot. --- roles/fabric/templates/switch.intf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/fabric/templates/switch.intf.j2 b/roles/fabric/templates/switch.intf.j2 index 454ead6..b3bc185 100644 --- a/roles/fabric/templates/switch.intf.j2 +++ b/roles/fabric/templates/switch.intf.j2 @@ -30,7 +30,7 @@ iface {{ iface.name }} {#- If the peer has a bond with the same name, generate and set a clag-id for the bond. #} {# Don’t set a clag-id for the peerlink (i.e. bond where a member connects to the peer switch). #} -{% if peer is defined and members | iface_peer | reject('eq', peer)%} +{% if peer is defined and members | iface_peer | reject('eq', peer) %} {% set peer_members = hostvars[peer].interfaces | selectattr('lag') | selectattr('lag.name', '==', iface.name) %}