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