2014-03-04 02:08:51 +08:00
|
|
|
---
|
2016-11-30 01:14:03 +08:00
|
|
|
- include: check_mandatory_vars.yml
|
|
|
|
|
2015-01-21 01:43:47 +08:00
|
|
|
- include: pre_requisite.yml
|
2017-04-13 01:57:33 +08:00
|
|
|
when: not containerized_deployment
|
2016-08-17 05:49:30 +08:00
|
|
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
|
|
|
static: False
|
2014-03-04 02:08:51 +08:00
|
|
|
|
2017-07-25 23:54:26 +08:00
|
|
|
- include: ceph_disk_cli_options_facts.yml
|
|
|
|
|
|
|
|
- include: check_devices.yml
|
|
|
|
|
2017-07-27 23:05:59 +08:00
|
|
|
- include: ./scenarios/collocated.yml
|
2016-04-01 18:57:58 +08:00
|
|
|
when:
|
2017-07-27 23:05:59 +08:00
|
|
|
- osd_scenario == 'collocated'
|
2016-08-17 05:49:30 +08:00
|
|
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
|
|
|
static: False
|
2014-03-04 02:08:51 +08:00
|
|
|
|
2017-07-27 23:05:59 +08:00
|
|
|
- include: ./scenarios/non-collocated.yml
|
2016-04-01 18:57:58 +08:00
|
|
|
when:
|
2017-07-27 23:05:59 +08:00
|
|
|
- osd_scenario == 'non-collocated'
|
2016-08-17 05:49:30 +08:00
|
|
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
|
|
|
static: False
|
2016-07-19 23:53:21 +08:00
|
|
|
|
2017-07-27 00:23:32 +08:00
|
|
|
- name: create lvm osds with ceph-volume
|
2017-07-19 23:05:42 +08:00
|
|
|
include: ./scenarios/lvm.yml
|
|
|
|
when:
|
2017-08-03 23:08:34 +08:00
|
|
|
- osd_scenario == 'lvm'
|
2017-07-19 23:05:42 +08:00
|
|
|
- not containerized_deployment
|
|
|
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
|
|
|
static: False
|
|
|
|
|
2017-07-27 00:23:32 +08:00
|
|
|
- name: ensure osd daemons are started
|
2017-07-26 05:48:13 +08:00
|
|
|
include: start_osds.yml
|
|
|
|
when:
|
|
|
|
- not containerized_deployment
|
|
|
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
|
|
|
static: False
|
|
|
|
|
2015-07-28 22:05:35 +08:00
|
|
|
- include: ./docker/main.yml
|
2017-04-13 01:57:33 +08:00
|
|
|
when: containerized_deployment
|
2016-08-17 05:49:30 +08:00
|
|
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
|
|
|
static: False
|