mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #287 from bstillwell/master
Correct the logic for running 'ceph-disk prepare'pull/288/head
commit
9b294006ce
|
@ -12,7 +12,9 @@
|
|||
# failed, this is why we check if the device is a partition too.
|
||||
- name: prepare OSD disk(s)
|
||||
command: "ceph-disk prepare {{ item.2 }} {{ item.3 }}"
|
||||
when: (item.0.rc != 0 or item.1.rc != 0) and raw_multi_journal
|
||||
when: item.0.rc != 0 and
|
||||
item.1.rc != 0 and
|
||||
raw_multi_journal
|
||||
ignore_errors: True
|
||||
with_together:
|
||||
- parted.results
|
||||
|
|
Loading…
Reference in New Issue