]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
purge: fix lvm-batch purge osd
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 2 Apr 2019 08:43:01 +0000 (10:43 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 4 Apr 2019 01:38:52 +0000 (03:38 +0200)
commitb723ef3fa2d1c418c65808b2fb558fe9b92e5541
treebf8ac823aed4efe40dbe1c2750e3013dc4c255ec
parent3fd4354aaae0d7bf3859a501cf968dc05e8ce2d2
purge: fix lvm-batch purge osd

`lvm_volumes` and/or `devices` variable(s) can be undefined depending on
the scenario chosen.

These tasks should be run only if these variable are defined, otherwise
it ends up with undefined variable errors.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1653307
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 01807383132c2897e331dcc665f062f8be0feeb8)
infrastructure-playbooks/purge-cluster.yml
infrastructure-playbooks/purge-docker-cluster.yml