mirror of https://github.com/ceph/ceph-ansible.git
27 lines
806 B
YAML
27 lines
806 B
YAML
---
|
|
- name: include pre_requisite.yml
|
|
include_tasks: pre_requisite.yml
|
|
when: not containerized_deployment | bool
|
|
|
|
- name: include common.yml
|
|
include_tasks: common.yml
|
|
when: cephx | bool
|
|
|
|
- name: tasks for non-containerized deployment
|
|
include_tasks: start_rbd_mirror.yml
|
|
when: not containerized_deployment | bool
|
|
|
|
- name: tasks for containerized deployment
|
|
when: containerized_deployment | bool
|
|
block:
|
|
- name: set_fact container_exec_cmd
|
|
set_fact:
|
|
container_exec_cmd: "{{ container_binary }} exec ceph-rbd-mirror-{{ ansible_facts['hostname'] }}"
|
|
|
|
- name: include start_container_rbd_mirror.yml
|
|
include_tasks: start_container_rbd_mirror.yml
|
|
|
|
- name: include configure_mirroring.yml
|
|
include_tasks: configure_mirroring.yml
|
|
when: ceph_rbd_mirror_configure | bool
|