From: Daniel Horak Date: Thu, 6 Apr 2017 07:11:32 +0000 (+0200) Subject: osd autodiscovery mode: fix holders detection X-Git-Tag: v2.2.0~8^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1415%2Fhead;p=ceph-ansible.git osd autodiscovery mode: fix holders detection Small fix for (probably copy&paste) issue from 42ffe6301. Signed-off-by: Daniel Horak --- diff --git a/roles/ceph-osd/tasks/check_devices_auto.yml b/roles/ceph-osd/tasks/check_devices_auto.yml index 889239727..1c89dfe47 100644 --- a/roles/ceph-osd/tasks/check_devices_auto.yml +++ b/roles/ceph-osd/tasks/check_devices_auto.yml @@ -33,7 +33,7 @@ - ansible_devices is defined - item.0.item.value.removable == "0" - item.0.item.value.partitions|count == 0 - - item.value.holders|count == 0 + - item.0.item.value.holders|count == 0 - item.0.rc != 0 - name: check if a partition named 'ceph' exists (autodiscover disks)