purge-docker-cluster: default raw_journal_devices to []

If we're purging a containerized cluster that did not use the
raw_multi_journal OSD scenario then raw_journal_devices will not be
defined which causes the playbook to fail.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1455187

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/1568/head
Andrew Schoen 2017-05-25 07:30:25 -05:00
parent 215ca26942
commit 8e322d4825
1 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@
zap_device
with_items:
- "{{ ceph_osd_docker_devices }}"
- "{{ raw_journal_devices }}"
- "{{ raw_journal_devices|default([]) }}"
- name: wait until the zap containers die
shell: |
@ -267,7 +267,7 @@
state: absent
with_items:
- "{{ ceph_osd_docker_devices }}"
- "{{ raw_journal_devices }}"
- "{{ raw_journal_devices|default([]) }}"
- name: remove ceph osd service
file: