mirror of https://github.com/ceph/ceph-ansible.git
rbdmirror: refact tasks directory layout
This commit moves containerized deployment related files to `./tasks/` directory. This is needed to make `docker-to-podman.yml` working since we use `tasks_from:` option. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/4507/head
parent
4636f3f7e2
commit
c69816c6b7
|
@ -100,10 +100,10 @@
|
|||
|
||||
- import_role:
|
||||
name: ceph-rbd-mirror
|
||||
tasks_from: container/systemd.yml
|
||||
tasks_from: systemd.yml
|
||||
when: inventory_hostname in groups.get(rbdmirror_group_name, [])
|
||||
|
||||
- import_role:
|
||||
name: ceph-rgw
|
||||
tasks_from: container/systemd.yml
|
||||
when: inventory_hostname in groups.get(rgw_group_name, [])
|
||||
when: inventory_hostname in groups.get(rgw_group_name, [])
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
- name: include start_docker_rbd_mirror.yml
|
||||
include_tasks: start_docker_rbd_mirror.yml
|
|
@ -18,8 +18,8 @@
|
|||
set_fact:
|
||||
container_exec_cmd: "{{ container_binary }} exec ceph-rbd-mirror-{{ ansible_hostname }}"
|
||||
|
||||
- name: include container/main.yml
|
||||
include_tasks: container/main.yml
|
||||
- name: include start_docker_rbd_mirror.yml
|
||||
include_tasks: start_docker_rbd_mirror.yml
|
||||
|
||||
- name: include configure_mirroring.yml
|
||||
include_tasks: configure_mirroring.yml
|
||||
|
|
Loading…
Reference in New Issue