mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1676 from yanyixing/master
fix: osd use filestore fixes: #1678pull/1682/head v2.3.0rc2
commit
8f85beece7
|
@ -7,8 +7,14 @@
|
|||
# if you have 64 disks with 4TB each, this will take a while
|
||||
# since Ansible will sequential process the loop
|
||||
|
||||
- set_fact:
|
||||
osd_type: "--filestore"
|
||||
when:
|
||||
- ceph_release_num.{{ ceph_release }} >= ceph_release_num.luminous
|
||||
- osd_objectstore == 'filestore'
|
||||
|
||||
- name: prepare filestore osd disk(s) with a dedicated journal device
|
||||
command: "ceph-disk prepare --cluster {{ cluster }} {{ item.1 }} {{ item.2 }}"
|
||||
command: "ceph-disk prepare {{ osd_type | default('') }} --cluster {{ cluster }} {{ item.1 }} {{ item.2 }}"
|
||||
with_together:
|
||||
- "{{ parted_results.results }}"
|
||||
- "{{ devices }}"
|
||||
|
|
Loading…
Reference in New Issue