2014-03-04 02:08:51 +08:00
|
|
|
---
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include check_mandatory_vars.yml
|
|
|
|
include: check_mandatory_vars.yml
|
2017-07-03 21:54:43 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include deploy_monitors.yml
|
|
|
|
include: deploy_monitors.yml
|
2017-04-13 01:57:33 +08:00
|
|
|
when: not containerized_deployment
|
2015-01-21 01:43:47 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include start_monitor.yml
|
|
|
|
include: start_monitor.yml
|
2017-04-13 01:57:33 +08:00
|
|
|
when: not containerized_deployment
|
2015-03-26 22:43:54 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include ceph_keys.yml
|
|
|
|
include: ceph_keys.yml
|
2017-04-13 01:57:33 +08:00
|
|
|
when: not containerized_deployment
|
2016-12-01 05:06:06 +08:00
|
|
|
# this avoids the bug mentioned here: https://github.com/ansible/ansible/issues/18206
|
|
|
|
static: no
|
2015-01-21 01:43:47 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include create_mds_filesystems.yml
|
|
|
|
include: create_mds_filesystems.yml
|
2015-06-26 06:26:03 +08:00
|
|
|
when:
|
2017-04-13 01:57:33 +08:00
|
|
|
- not containerized_deployment
|
2016-05-09 22:08:33 +08:00
|
|
|
- groups[mds_group_name] is defined
|
2017-01-19 21:35:00 +08:00
|
|
|
- "{{ groups[mds_group_name]|length > 0 }}"
|
2017-03-24 14:40:15 +08:00
|
|
|
- "{{ inventory_hostname == groups[mon_group_name] | last }}"
|
2015-01-21 01:43:47 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include secure_cluster.yml
|
|
|
|
include: secure_cluster.yml
|
2015-06-26 06:26:03 +08:00
|
|
|
when:
|
2016-05-09 22:08:33 +08:00
|
|
|
- secure_cluster
|
2017-04-13 01:57:33 +08:00
|
|
|
- not containerized_deployment
|
2015-05-12 17:18:12 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include docker/main.yml
|
|
|
|
include: docker/main.yml
|
2017-04-13 01:57:33 +08:00
|
|
|
when: containerized_deployment
|
2016-03-10 04:10:47 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include calamari.yml
|
|
|
|
include: calamari.yml
|
2016-03-10 04:10:47 +08:00
|
|
|
when: calamari
|