2016-04-04 06:35:09 +08:00
|
|
|
---
|
2017-10-04 16:39:17 +08:00
|
|
|
- name: set_fact docker_exec_cmd
|
|
|
|
set_fact:
|
|
|
|
docker_exec_cmd: "docker exec ceph-rbd-mirror-{{ ansible_hostname }}"
|
|
|
|
when:
|
|
|
|
- containerized_deployment
|
|
|
|
|
2018-04-11 23:15:29 +08:00
|
|
|
- name: include common.yml
|
|
|
|
include: common.yml
|
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include pre_requisite.yml
|
|
|
|
include: pre_requisite.yml
|
|
|
|
when:
|
|
|
|
- not containerized_deployment
|
2016-07-12 18:15:22 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include start_rbd_mirror.yml
|
|
|
|
include: start_rbd_mirror.yml
|
|
|
|
when:
|
|
|
|
- not containerized_deployment
|
2016-07-12 18:15:22 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include configure_mirroring.yml
|
|
|
|
include: configure_mirroring.yml
|
2016-07-12 18:15:22 +08:00
|
|
|
when:
|
|
|
|
- ceph_rbd_mirror_configure
|
2017-04-13 01:57:33 +08:00
|
|
|
- not containerized_deployment
|
2016-07-12 18:15:22 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include docker/main.yml
|
|
|
|
include: docker/main.yml
|
|
|
|
when:
|
|
|
|
- containerized_deployment
|