2014-03-04 02:08:51 +08:00
|
|
|
---
|
2018-05-25 08:39:01 +08:00
|
|
|
- name: include create_mds_filesystems.yml
|
2018-08-21 22:23:35 +08:00
|
|
|
include_tasks: create_mds_filesystems.yml
|
2018-05-25 08:39:01 +08:00
|
|
|
when:
|
|
|
|
- inventory_hostname == groups[mds_group_name] | first
|
2019-03-25 16:48:48 +08:00
|
|
|
- not rolling_update
|
2018-05-25 08:39:01 +08:00
|
|
|
|
2017-10-04 16:39:17 +08:00
|
|
|
- name: set_fact docker_exec_cmd
|
|
|
|
set_fact:
|
2018-11-08 17:02:37 +08:00
|
|
|
docker_exec_cmd: "{{ container_binary }} exec ceph-mds-{{ ansible_hostname }}"
|
2017-10-04 16:39:17 +08:00
|
|
|
when:
|
|
|
|
- containerized_deployment
|
|
|
|
|
2018-04-11 23:15:29 +08:00
|
|
|
- name: include common.yml
|
2018-08-21 22:23:35 +08:00
|
|
|
include_tasks: common.yml
|
2018-04-11 23:15:29 +08:00
|
|
|
|
2017-09-27 20:13:39 +08:00
|
|
|
- name: non_containerized.yml
|
2018-08-21 22:23:35 +08:00
|
|
|
include_tasks: non_containerized.yml
|
2017-04-13 01:57:33 +08:00
|
|
|
when: not containerized_deployment
|
2014-03-04 02:08:51 +08:00
|
|
|
|
2017-09-27 20:13:39 +08:00
|
|
|
- name: containerized.yml
|
2018-08-21 22:23:35 +08:00
|
|
|
include_tasks: containerized.yml
|
2017-04-13 01:57:33 +08:00
|
|
|
when: containerized_deployment
|