]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
rgw: refact rgw pools creation
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 1 Jun 2018 15:33:54 +0000 (17:33 +0200)
committerSébastien Han <seb@redhat.com>
Tue, 5 Jun 2018 07:00:20 +0000 (15:00 +0800)
commit2cf06b515f3e173aa3720cf28e4149149d881941
tree01d9171810e8319faed7dcdf730cf4d387f61bae
parent1f3c9ce4f38070d5538b269f524666d9a780fc13
rgw: refact rgw pools creation

Refact of 8704144e3157aa253fb7563fe701d9d434bf2f3e
There is no need to have duplicated tasks for this. The rgw pools
creation should be delegated on a monitor node se we don't have to care
if the admin keyring is present on rgw node.
By the way, only one task is needed to create the pools, we just need to
use the `docker_exec_cmd` fact already defined in `ceph-defaults` to
achieve it.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1550281
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-rgw/tasks/docker/main.yml
roles/ceph-rgw/tasks/docker/rgw_pool_pgs.yml [deleted file]
roles/ceph-rgw/tasks/main.yml
roles/ceph-rgw/tasks/rgw_pool_pgs.yml [deleted file]
tests/functional/centos/7/docker-collocation/group_vars/rgws
tests/functional/centos/7/ooo-collocation/hosts