purge-cluster: also purge dmcrypt dedicated journals

See: https://bugzilla.redhat.com/show_bug.cgi?id=1414647

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 22f52a9dc6)
pull/1312/head
Andrew Schoen 2017-02-15 09:53:13 -06:00
parent deb4730a9d
commit b6b0e6b5e4
1 changed files with 1 additions and 3 deletions

View File

@ -349,9 +349,7 @@
with_items: "{{ ceph_journal_partition_to_erase_path.stdout_lines | default([]) }}"
when:
- ceph_journal_partlabels.rc == 0
- raw_multi_journal is defined
- raw_multi_journal
- (raw_multi_journal is defined and raw_multi_journal) or (dmcrypt_dedicated_journal is defined and dmcrypt_dedicated_journal)
- name: purge ceph mon cluster