From ce06dc1460b095d604601daee9a93c567300e266 Mon Sep 17 00:00:00 2001 From: Daniel Horak Date: Thu, 6 Apr 2017 09:11:32 +0200 Subject: [PATCH] osd autodiscovery mode: fix holders detection Small fix for (probably copy&paste) issue from 42ffe6301. Signed-off-by: Daniel Horak --- roles/ceph-osd/tasks/check_devices_auto.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)