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-05-22 16:02:42 +08:00
|
|
|
- not rolling_update | bool
|
2018-05-25 08:39:01 +08:00
|
|
|
|
2019-05-14 20:51:32 +08:00
|
|
|
- name: set_fact container_exec_cmd
|
2017-10-04 16:39:17 +08:00
|
|
|
set_fact:
|
2019-05-14 20:51:32 +08:00
|
|
|
container_exec_cmd: "{{ container_binary }} exec ceph-mds-{{ ansible_hostname }}"
|
2019-05-22 16:02:42 +08:00
|
|
|
when: containerized_deployment | bool
|
2017-10-04 16:39:17 +08:00
|
|
|
|
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
|
2019-05-22 16:02:42 +08:00
|
|
|
when: not containerized_deployment | bool
|
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
|
2019-05-22 16:02:42 +08:00
|
|
|
when: containerized_deployment | bool
|