]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
osd autodiscovery mode: fix holders detection 1415/head
authorDaniel Horak <dahorak@redhat.com>
Thu, 6 Apr 2017 07:11:32 +0000 (09:11 +0200)
committerDaniel Horak <dahorak@redhat.com>
Thu, 6 Apr 2017 07:11:32 +0000 (09:11 +0200)
Small fix for (probably copy&paste) issue from 42ffe6301.

Signed-off-by: Daniel Horak <dahorak@redhat.com>
roles/ceph-osd/tasks/check_devices_auto.yml

index 889239727fbce6f8d779da404c205b35af40eab9..1c89dfe476559985cb69853a0b82b52daa17791e 100644 (file)
@@ -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)