mirror of https://github.com/ceph/ceph-ansible.git
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
parent
18aa86a89f
commit
c9071a6af0
|
@ -35,7 +35,7 @@
|
|||
failed_when: false
|
||||
when:
|
||||
not item.0.get("skipped") and
|
||||
item.0.get("rc", 0) != 0 and
|
||||
item.0.get("rc", 0) == 0 and
|
||||
not osd_auto_discovery
|
||||
|
||||
- include: osd_fragment.yml
|
||||
|
|
Loading…
Reference in New Issue