Commit 70469a69 authored by Dimitri Savineau's avatar Dimitri Savineau Committed by Dimitri Savineau
Browse files

docker2podman: set disk_list for non lvm scenario

When using non lvm scenarios (collocated or non-collocated) then the
disk_list variable isn't set because this is done during the ceph-osd
role (start_osds.yml) which isn't executed in the docker2podman
playbook.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1862046

Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
parent 54b55c8b
......@@ -97,6 +97,14 @@
tasks_from: systemd.yml
when: inventory_hostname in groups.get(nfs_group_name, [])
- name: set_fact disk_list
set_fact:
disk_list:
rc: 0
when:
- inventory_hostname in groups.get(osd_group_name, [])
- osd_scenario != 'lvm'
- import_role:
name: ceph-osd
tasks_from: systemd.yml
......
---
osd_objectstore: "bluestore"
osd_scenario: collocated
devices:
- /dev/sda
- /dev/sdb
- /dev/sdc
......@@ -3,6 +3,7 @@ mon0
[osds]
osd0
osd1
[mgrs]
mon0
......
......@@ -5,7 +5,7 @@ docker: True
# DEFINE THE NUMBER OF VMS TO RUN
mon_vms: 1
osd_vms: 1
osd_vms: 2
mds_vms: 0
rgw_vms: 1
nfs_vms: 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment