rgw: 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:40:56 +02:00 committed by Dimitri Savineau
parent c69816c6b7
commit e08194dd67
5 changed files with 3 additions and 6 deletions

View File

@ -105,5 +105,5 @@
- import_role:
name: ceph-rgw
tasks_from: container/systemd.yml
tasks_from: systemd.yml
when: inventory_hostname in groups.get(rgw_group_name, [])

View File

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

View File

@ -14,8 +14,8 @@
include_tasks: start_radosgw.yml
when: not containerized_deployment | bool
- name: include_tasks container/main.yml
include_tasks: container/main.yml
- name: include start_docker_rgw.yml
include_tasks: start_docker_rgw.yml
when: containerized_deployment | bool
- name: include_tasks multisite/main.yml