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
Guillaume Abrioux 2019-09-30 09:36:00 +02:00 committed by Dimitri Savineau
parent 4636f3f7e2
commit c69816c6b7
5 changed files with 4 additions and 7 deletions

View File

@ -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, [])

View File

@ -1,3 +0,0 @@
---
- name: include start_docker_rbd_mirror.yml
include_tasks: start_docker_rbd_mirror.yml

View File

@ -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