2018-10-03 05:54:57 +08:00
|
|
|
---
|
2020-01-21 00:24:08 +08:00
|
|
|
- name: set_fact container_env_args '-e osd_bluestore=0 -e osd_filestore=1 -e osd_dmcrypt=0'
|
2018-10-03 05:54:57 +08:00
|
|
|
set_fact:
|
2020-01-21 00:24:08 +08:00
|
|
|
container_env_args: -e OSD_BLUESTORE=0 -e OSD_FILESTORE=1 -e OSD_DMCRYPT=0
|
2018-10-03 05:54:57 +08:00
|
|
|
when:
|
|
|
|
- osd_objectstore == 'filestore'
|
2019-05-22 16:02:42 +08:00
|
|
|
- not dmcrypt | bool
|
2018-10-03 05:54:57 +08:00
|
|
|
|
2020-01-21 00:24:08 +08:00
|
|
|
- name: set_fact container_env_args '-e osd_bluestore=0 -e osd_filestore=1 -e osd_dmcrypt=1'
|
2018-10-03 05:54:57 +08:00
|
|
|
set_fact:
|
2020-01-21 00:24:08 +08:00
|
|
|
container_env_args: -e OSD_BLUESTORE=0 -e OSD_FILESTORE=1 -e OSD_DMCRYPT=1
|
2018-10-03 05:54:57 +08:00
|
|
|
when:
|
|
|
|
- osd_objectstore == 'filestore'
|
2019-05-22 16:02:42 +08:00
|
|
|
- dmcrypt | bool
|
2018-10-03 05:54:57 +08:00
|
|
|
|
2020-01-21 00:24:08 +08:00
|
|
|
- name: set_fact container_env_args '-e osd_bluestore=1 -e osd_filestore=0 -e osd_dmcrypt=0'
|
2018-10-03 05:54:57 +08:00
|
|
|
set_fact:
|
2020-01-21 00:24:08 +08:00
|
|
|
container_env_args: -e OSD_BLUESTORE=1 -e OSD_FILESTORE=0 -e OSD_DMCRYPT=0
|
2018-10-03 05:54:57 +08:00
|
|
|
when:
|
|
|
|
- osd_objectstore == 'bluestore'
|
2019-05-22 16:02:42 +08:00
|
|
|
- not dmcrypt | bool
|
2018-10-03 05:54:57 +08:00
|
|
|
|
2020-01-21 00:24:08 +08:00
|
|
|
- name: set_fact container_env_args '-e osd_bluestore=1 -e osd_filestore=0 -e osd_dmcrypt=1'
|
2018-10-03 05:54:57 +08:00
|
|
|
set_fact:
|
2020-01-21 00:24:08 +08:00
|
|
|
container_env_args: -e OSD_BLUESTORE=1 -e OSD_FILESTORE=0 -e OSD_DMCRYPT=1
|
2018-10-03 05:54:57 +08:00
|
|
|
when:
|
|
|
|
- osd_objectstore == 'bluestore'
|
2019-05-22 16:02:42 +08:00
|
|
|
- dmcrypt | bool
|