]> 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>
Tue, 2 Apr 2019 12:56:24 +0000 (14:56 +0200)
commit01807383132c2897e331dcc665f062f8be0feeb8
treebd9e712c50ed626e92ac491e7a31038739f54f41
parent7e5e4229b794c354d9cc7a5951f00356ea3418c4
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>
infrastructure-playbooks/purge-cluster.yml
infrastructure-playbooks/purge-docker-cluster.yml