Skip to content

Commit 843c754

Browse files
Merge pull request #1000 from lmiccini/ansible_2.19_frr
Fix ansible 2.19 incompatibility
2 parents f1e09b5 + b61da98 commit 843c754

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roles/edpm_frr/tasks/configure.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
- name: Assert either edpm_frr_bgp_peers or edpm_frr_bgp_uplinks configured
3030
ansible.builtin.assert:
3131
that:
32-
- "edpm_frr_bgp_uplinks or edpm_frr_bgp_peers"
32+
- edpm_frr_bgp_uplinks | length > 0 or edpm_frr_bgp_peers | length > 0
3333

3434
- name: FRR uplink interfaces
3535
# if edpm_frr_bgp_peers are defined, edpm_frr_bgp_uplinks are not used to create frr.conf.j2
3636
when:
37-
- edpm_frr_bgp_uplinks
38-
- not edpm_frr_bgp_peers
37+
- edpm_frr_bgp_uplinks | length > 0
38+
- not edpm_frr_bgp_peers | length > 0
3939
block:
4040
- name: Construct FRR uplink interfaces from os-net-config mappings
4141
ansible.builtin.set_fact:

0 commit comments

Comments
 (0)