From 8e322d4825a0c53ae260faa3324eef4dfd0b28b0 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Thu, 25 May 2017 07:30:25 -0500 Subject: [PATCH] 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 --- infrastructure-playbooks/purge-docker-cluster.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure-playbooks/purge-docker-cluster.yml b/infrastructure-playbooks/purge-docker-cluster.yml index 0f0a47452..110428779 100644 --- a/infrastructure-playbooks/purge-docker-cluster.yml +++ b/infrastructure-playbooks/purge-docker-cluster.yml @@ -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: -- 2.39.5