Skip to content

Commit

Permalink
eos: fix wrong usage of ansible difference filter (worked for ansible…
Browse files Browse the repository at this point in the history
…-core 2.14.x but not after)
  • Loading branch information
liske committed Sep 15, 2024
1 parent 1253acf commit 9597fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/eos/DCS-7050SX-64.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ router bgp 65044
neighbor backbone remote-as 65044
neighbor backbone update-source Loopback0
neighbor backbone send-community
{% for router_id in groups.eos|difference(switch_vars.inventory_hostname)|map('extract', hostvars, 'router_id')|sort %}
{% for router_id in groups.eos|difference([switch_vars.inventory_hostname])|map('extract', hostvars, 'router_id')|sort %}
neighbor {{ router_id }} peer group backbone
{% endfor %}
!
Expand Down

0 comments on commit 9597fc8

Please sign in to comment.