2014-03-04 02:08:51 +08:00
|
|
|
---
|
2014-09-05 03:14:11 +08:00
|
|
|
- include: deploy_monitors.yml
|
2015-10-22 05:18:22 +08:00
|
|
|
when: not mon_containerized_deployment
|
2015-01-21 01:43:47 +08:00
|
|
|
|
2015-03-26 22:43:54 +08:00
|
|
|
- include: start_monitor.yml
|
2015-10-22 05:18:22 +08:00
|
|
|
when: not mon_containerized_deployment
|
2015-03-26 22:43:54 +08:00
|
|
|
|
2015-01-30 23:16:18 +08:00
|
|
|
- include: ceph_keys.yml
|
2015-10-22 05:18:22 +08:00
|
|
|
when: not mon_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
|
|
|
|
2015-03-12 11:50:38 +08:00
|
|
|
- include: create_mds_filesystems.yml
|
2015-06-26 06:26:03 +08:00
|
|
|
when:
|
2016-05-09 22:08:33 +08:00
|
|
|
- not mon_containerized_deployment
|
|
|
|
- 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
|
|
|
|
2015-05-12 17:18:12 +08:00
|
|
|
- include: secure_cluster.yml
|
2015-06-26 06:26:03 +08:00
|
|
|
when:
|
2016-05-09 22:08:33 +08:00
|
|
|
- secure_cluster
|
|
|
|
- not mon_containerized_deployment
|
2015-05-12 17:18:12 +08:00
|
|
|
|
2015-07-28 21:44:52 +08:00
|
|
|
- include: ./docker/main.yml
|
2015-10-22 05:18:22 +08:00
|
|
|
when: mon_containerized_deployment
|
2016-03-10 04:10:47 +08:00
|
|
|
|
|
|
|
- include: calamari.yml
|
|
|
|
when: calamari
|