osd: use _devices fact in lvm batch scenario

since fd1718f379, we must use `_devices`
when deploying with lvm batch scenario.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/4938/head
Guillaume Abrioux 2020-01-14 09:42:43 +01:00 committed by Dimitri Savineau
parent d853da2a68
commit 5558664f37
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@
ceph_volume: ceph_volume:
cluster: "{{ cluster }}" cluster: "{{ cluster }}"
objectstore: "{{ osd_objectstore }}" objectstore: "{{ osd_objectstore }}"
batch_devices: "{{ devices }}" batch_devices: "{{ _devices }}"
dmcrypt: "{{ dmcrypt|default(omit) }}" dmcrypt: "{{ dmcrypt|default(omit) }}"
crush_device_class: "{{ crush_device_class|default(omit) }}" crush_device_class: "{{ crush_device_class|default(omit) }}"
osds_per_device: "{{ osds_per_device }}" osds_per_device: "{{ osds_per_device }}"
@ -18,3 +18,4 @@
CEPH_CONTAINER_IMAGE: "{{ ceph_docker_registry + '/' + ceph_docker_image + ':' + ceph_docker_image_tag if containerized_deployment else None }}" CEPH_CONTAINER_IMAGE: "{{ ceph_docker_registry + '/' + ceph_docker_image + ':' + ceph_docker_image_tag if containerized_deployment else None }}"
CEPH_CONTAINER_BINARY: "{{ container_binary }}" CEPH_CONTAINER_BINARY: "{{ container_binary }}"
PYTHONIOENCODING: utf-8 PYTHONIOENCODING: utf-8
when: _devices | default([]) | length > 0