ceph-ansible/roles/ceph-osd/tasks/scenarios/lvm-batch.yml

19 lines
720 B
YAML
Raw Normal View History

---
- 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) }}"
crush_device_class: "{{ crush_device_class|default(omit) }}"
osds_per_device: "{{ osds_per_device }}"
journal_size: "{{ journal_size }}"
block_db_size: "{{ block_db_size }}"
action: "batch"
environment:
CEPH_VOLUME_DEBUG: 1
CEPH_CONTAINER_IMAGE: "{{ ceph_docker_registry + '/' + ceph_docker_image + ':' + ceph_docker_image_tag if containerized_deployment else None }}"
CEPH_CONTAINER_BINARY: "{{ container_binary }}"
PYTHONIOENCODING: utf-8