ceph-osd: fix activate for osd on partitions

Since we want to activate the OSD when it's a partition we are looking
for a return code that is equal to 0 which means the device is a
  partition.

closes: #636

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/637/head
Sébastien Han 2016-03-21 16:00:58 +01:00
parent 18aa86a89f
commit c9071a6af0
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
failed_when: false failed_when: false
when: when:
not item.0.get("skipped") and not item.0.get("skipped") and
item.0.get("rc", 0) != 0 and item.0.get("rc", 0) == 0 and
not osd_auto_discovery not osd_auto_discovery
- include: osd_fragment.yml - include: osd_fragment.yml