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
(cherry picked from commit ea50aaff18)
This commit is contained in:
Francesco Pantano 2020-06-26 11:41:52 +02:00
parent 04c6fffa56
commit 7940dd9143
No known key found for this signature in database
GPG Key ID: 799868C47301D458
1 changed files with 1 additions and 1 deletions

View File

@ -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: