We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f1e09b5 + b61da98 commit 843c754Copy full SHA for 843c754
roles/edpm_frr/tasks/configure.yml
@@ -29,13 +29,13 @@
29
- name: Assert either edpm_frr_bgp_peers or edpm_frr_bgp_uplinks configured
30
ansible.builtin.assert:
31
that:
32
- - "edpm_frr_bgp_uplinks or edpm_frr_bgp_peers"
+ - edpm_frr_bgp_uplinks | length > 0 or edpm_frr_bgp_peers | length > 0
33
34
- name: FRR uplink interfaces
35
# if edpm_frr_bgp_peers are defined, edpm_frr_bgp_uplinks are not used to create frr.conf.j2
36
when:
37
- - edpm_frr_bgp_uplinks
38
- - not edpm_frr_bgp_peers
+ - edpm_frr_bgp_uplinks | length > 0
+ - not edpm_frr_bgp_peers | length > 0
39
block:
40
- name: Construct FRR uplink interfaces from os-net-config mappings
41
ansible.builtin.set_fact:
0 commit comments