Ensure role not fail when secret_uuid is not part of ceph_extra_confs
Most tasks already check whether secret_uuid is defined but cleanup tasks do this not and fail. Change-Id: I31471907cafde83d73c8fa23bca377955523ec71
This commit is contained in:
parent
edbd5268d3
commit
6bdf19df35
|
@ -132,6 +132,8 @@
|
|||
path: "/tmp/{{ item.secret_uuid }}.libvirt_secret_exists"
|
||||
state: "absent"
|
||||
with_items: "{{ ceph_extra_confs }}"
|
||||
when:
|
||||
- item.secret_uuid is defined
|
||||
tags:
|
||||
- always
|
||||
|
||||
|
@ -140,6 +142,8 @@
|
|||
path: "/tmp/{{ item.secret_uuid }}.libvirt_secret_value_exists"
|
||||
state: "absent"
|
||||
with_items: "{{ ceph_extra_confs }}"
|
||||
when:
|
||||
- item.secret_uuid is defined
|
||||
tags:
|
||||
- always
|
||||
|
||||
|
|
Loading…
Reference in New Issue