Skip to content

Commit

Permalink
rgw: refact tasks directory layout
Browse files Browse the repository at this point in the history
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>
(cherry picked from commit e08194d)
  • Loading branch information
guits committed Oct 1, 2019
1 parent 7f90299 commit 9a79ed1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion infrastructure-playbooks/docker-to-podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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, [])
3 changes: 0 additions & 3 deletions roles/ceph-rgw/tasks/container/main.yml

This file was deleted.

4 changes: 2 additions & 2 deletions roles/ceph-rgw/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 9a79ed1

Please sign in to comment.