ceph-ansible/roles/ceph-osd/tasks/main.yml

42 lines
1.4 KiB
YAML
Raw Normal View History

---
- include: check_mandatory_vars.yml
- include: pre_requisite.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
- include: ./scenarios/collocated.yml
2016-04-01 18:57:58 +08:00
when:
- osd_scenario == 'collocated'
- not containerized_deployment
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
static: False
- include: ./scenarios/non-collocated.yml
2016-04-01 18:57:58 +08:00
when:
- osd_scenario == 'non-collocated'
- not containerized_deployment
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
static: False
- name: create lvm OSDs with ceph-volume
include: ./scenarios/lvm.yml
when:
- lvm_osds
- not containerized_deployment
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
static: False
- name: ensure OSD daemons are started
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
- include: ./docker/main.yml
when: containerized_deployment
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
static: False