2017-07-19 23:05:42 +08:00
|
|
|
---
|
2017-10-27 07:05:52 +08:00
|
|
|
|
2017-12-01 21:33:16 +08:00
|
|
|
- name: use ceph-volume to create osds
|
|
|
|
ceph_volume:
|
2017-12-01 22:41:40 +08:00
|
|
|
cluster: "{{ cluster }}"
|
2017-12-01 21:33:16 +08:00
|
|
|
objectstore: "{{ osd_objectstore }}"
|
|
|
|
data: "{{ item.data }}"
|
|
|
|
data_vg: "{{ item.data_vg|default(omit) }}"
|
|
|
|
journal: "{{ item.journal|default(omit) }}"
|
|
|
|
journal_vg: "{{ item.journal_vg|default(omit) }}"
|
|
|
|
db: "{{ item.db|default(omit) }}"
|
|
|
|
db_vg: "{{ item.db_vg|default(omit) }}"
|
|
|
|
wal: "{{ item.wal|default(omit) }}"
|
|
|
|
wal_vg: "{{ item.wal_vg|default(omit) }}"
|
2017-11-14 04:56:51 +08:00
|
|
|
environment:
|
|
|
|
CEPH_VOLUME_DEBUG: 1
|
|
|
|
with_items: "{{ lvm_volumes }}"
|