]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
purge: stop rgw instances by iteration
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 31 Jan 2020 15:42:10 +0000 (10:42 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 3 Mar 2020 09:31:48 +0000 (10:31 +0100)
commite037e99bd279d9d38b4a9f27643d5eb124081fa3
treec66f6c876c225fa3d500de3c5c1bafb3ed61853b
parenteb2fba79fcb54ee2deb3f43686c96fa9f76a28ed
purge: stop rgw instances by iteration

It looks like that the service module doesn't support wildcard anymore
for stopping/disabling multiple services.

fatal: [rgw0]: FAILED! => changed=false
  msg: 'This module does not currently support using glob patterns,
        found ''*'' in service name: ceph-radosgw@*'
...ignoring

Instead we should iterate over the rgw_instances list.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 9d3b49293d785b9b2b6bb902bce0ae8bce6b4e6e)
infrastructure-playbooks/purge-cluster.yml
infrastructure-playbooks/purge-container-cluster.yml
roles/ceph-facts/tasks/facts.yml
roles/ceph-facts/tasks/set_radosgw_address.yml
roles/ceph-rgw/handlers/main.yml