Add default value in CinderRbdExtraPools task condition
If overrides is empty and CinderRbdExtraPools are specified (with external ceph clusters), the task that is supposed to build pools fail. Adding a default value is safe and avoid this issue. Change-Id: I7ab85b88f46bb29e4ca9d547ad1743e6e07b0afe Closes-Bug: #1885258
This commit is contained in:
parent
f5b1dfcba3
commit
ea50aaff18
@ -69,7 +69,7 @@
|
||||
with_items: "{{ ceph_pools.cinder_pool.cinder_extra_pools }}"
|
||||
when:
|
||||
- tripleo_pool_volumes
|
||||
- item not in overrides
|
||||
- item not in overrides | default([])
|
||||
|
||||
- name: build resulting pool list
|
||||
set_fact:
|
||||
|
Loading…
Reference in New Issue
Block a user