2018-08-04 00:15:58 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: "use ceph-volume lvm batch to create {{ osd_objectstore }} osds"
|
|
|
|
ceph_volume:
|
|
|
|
cluster: "{{ cluster }}"
|
|
|
|
objectstore: "{{ osd_objectstore }}"
|
|
|
|
batch_devices: "{{ devices }}"
|
|
|
|
dmcrypt: "{{ dmcrypt|default(omit) }}"
|
2018-08-07 04:14:53 +08:00
|
|
|
crush_device_class: "{{ crush_device_class|default(omit) }}"
|
2018-09-07 03:00:56 +08:00
|
|
|
osds_per_device: "{{ osds_per_device }}"
|
2018-09-21 01:26:24 +08:00
|
|
|
journal_size: "{{ journal_size }}"
|
|
|
|
block_db_size: "{{ block_db_size }}"
|
2018-08-04 00:15:58 +08:00
|
|
|
action: "batch"
|
|
|
|
environment:
|
|
|
|
CEPH_VOLUME_DEBUG: 1
|
2018-09-28 19:06:18 +08:00
|
|
|
CEPH_CONTAINER_IMAGE: "{{ ceph_docker_registry + '/' + ceph_docker_image + ':' + ceph_docker_image_tag if containerized_deployment else None }}"
|