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 }}"
|
2019-08-20 21:57:45 +08:00
|
|
|
block_db_devices: "{{ dedicated_devices | unique if dedicated_devices | length > 0 else omit }}"
|
2019-08-23 15:02:12 +08:00
|
|
|
wal_devices: "{{ bluestore_wal_devices | unique if bluestore_wal_devices | length > 0 else omit }}"
|
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 }}"
|
2018-11-27 17:03:07 +08:00
|
|
|
CEPH_CONTAINER_BINARY: "{{ container_binary }}"
|
2019-04-02 04:02:28 +08:00
|
|
|
PYTHONIOENCODING: utf-8
|