mirror of https://github.com/ceph/ceph-ansible.git
33 lines
748 B
YAML
33 lines
748 B
YAML
---
|
|
- name: set_fact docker_exec_cmd
|
|
set_fact:
|
|
docker_exec_cmd: "{{ container_binary }} exec ceph-rbd-mirror-{{ ansible_hostname }}"
|
|
when:
|
|
- containerized_deployment
|
|
|
|
- name: include pre_requisite.yml
|
|
include_tasks: pre_requisite.yml
|
|
when:
|
|
- not containerized_deployment
|
|
|
|
- name: include common.yml
|
|
include_tasks: common.yml
|
|
when:
|
|
- cephx
|
|
|
|
- name: include start_rbd_mirror.yml
|
|
include_tasks: start_rbd_mirror.yml
|
|
when:
|
|
- not containerized_deployment
|
|
|
|
- name: include configure_mirroring.yml
|
|
include_tasks: configure_mirroring.yml
|
|
when:
|
|
- ceph_rbd_mirror_configure
|
|
- not containerized_deployment
|
|
|
|
- name: include docker/main.yml
|
|
include_tasks: docker/main.yml
|
|
when:
|
|
- containerized_deployment
|