2014-03-04 02:08:51 +08:00
|
|
|
---
|
2017-10-04 16:39:17 +08:00
|
|
|
- name: set_fact docker_exec_cmd
|
|
|
|
set_fact:
|
|
|
|
docker_exec_cmd: "docker exec ceph-mds-{{ ansible_hostname }}"
|
|
|
|
when:
|
|
|
|
- containerized_deployment
|
|
|
|
|
2018-04-11 23:15:29 +08:00
|
|
|
- name: include common.yml
|
|
|
|
include: common.yml
|
|
|
|
|
2018-05-23 11:07:38 +08:00
|
|
|
- name: include create_mds_filesystems.yml
|
|
|
|
include: create_mds_filesystems.yml
|
|
|
|
when:
|
|
|
|
- inventory_hostname == groups[mds_group_name] | first
|
|
|
|
|
2017-09-27 20:13:39 +08:00
|
|
|
- name: non_containerized.yml
|
|
|
|
include: 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
|
|
|
|
include: containerized.yml
|
2017-04-13 01:57:33 +08:00
|
|
|
when: containerized_deployment
|