Skip to content

Commit d9257e0

Browse files
author
scrungus
committed
filter out ceph network
1 parent df06cc7 commit d9257e0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tools/merge_config/inventory/group_vars/all/variables.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ _magnum_external_net_name: >-
1818
{{
1919
lookup('pipe', 'openstack network list --external -f json') |
2020
from_json |
21-
reject('search','^ceph$') |
22-
first |
23-
default(undef(hint = 'Unable to find external network')) |
24-
json_query('Name')
21+
map(attribute='Name') |
22+
reject('search', 'ceph') |
23+
first
2524
}}
2625
2726
magnum_external_net_name: "{{ _magnum_external_net_name }}"

0 commit comments

Comments
 (0)