2017-07-19 23:05:42 +08:00
|
|
|
---
|
2017-07-27 00:23:32 +08:00
|
|
|
- name: use ceph-volume to create filestore osds with dedicated journals
|
2017-08-24 02:43:31 +08:00
|
|
|
command: "ceph-volume lvm create --filestore --data {{ item.data_vg }}/{{ item.data }} --journal {{ item.journal }}"
|
2017-08-23 21:59:57 +08:00
|
|
|
with_items: "{{ lvm_volumes }}"
|
2017-08-31 04:55:16 +08:00
|
|
|
when:
|
|
|
|
- item.journal_vg is not defined
|
|
|
|
|
|
|
|
- name: use ceph-volume to create filestore osds with dedicated lv journals
|
|
|
|
command: "ceph-volume lvm create --filestore --data {{ item.data_vg }}/{{ item.data }} --journal {{item.journal_vg }}/{{ item.journal }}"
|
|
|
|
with_items: "{{ lvm_volumes }}"
|
|
|
|
when:
|
|
|
|
- item.journal_vg is defined
|