]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
lvm: fix condition when selecting which scenario to run
authorAndrew Schoen <aschoen@redhat.com>
Thu, 9 Aug 2018 15:40:16 +0000 (10:40 -0500)
committerSébastien Han <seb@redhat.com>
Fri, 10 Aug 2018 09:46:12 +0000 (11:46 +0200)
commit6423ab4ad377edacc62e69e5e9011917a10a0fb1
tree82e53f48b9ce5d38f0099900fdba5d04e0569521
parente84f11e99ef42057cd1c3fbfab41ef66cda27302
lvm: fix condition when selecting which scenario to run

devices and lvm_volumes will always be defined, so we need to instead
check it's length before deciding to run the scenario.

This fixes the failure here:
https://2.jenkins.ceph.com/job/ceph-ansible-prs-luminous-bluestore_lvm_osds/86/consoleFull#1667273050b5dd38fa-a56e-4233-a5ca-584604e56e3a

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/ceph-osd/tasks/main.yml