From: Sébastien Han Date: Thu, 1 Mar 2018 15:50:06 +0000 (+0100) Subject: rgw: add cluster name option to the handler X-Git-Tag: v3.0.28~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c7b79cbfa0ec2eb868379873642c172fb4f6a0d1;p=ceph-ansible.git rgw: add cluster name option to the handler If the cluster name is different than 'ceph', the command will fail so we need to pass the cluster name. Signed-off-by: Sébastien Han (cherry picked from commit 7f19df81964c669f649d9f6eb5104022b421eea3) --- diff --git a/roles/ceph-rgw/handlers/main.yml b/roles/ceph-rgw/handlers/main.yml index a1c7c960a..909f91f87 100644 --- a/roles/ceph-rgw/handlers/main.yml +++ b/roles/ceph-rgw/handlers/main.yml @@ -1,6 +1,6 @@ --- - name: update period - command: radosgw-admin period update --commit + command: radosgw-admin --cluster {{ cluster }} period update --commit delegate_to: "{{ groups[mon_group_name][0] }}" run_once: true