From c7b79cbfa0ec2eb868379873642c172fb4f6a0d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Thu, 1 Mar 2018 16:50:06 +0100 Subject: [PATCH] rgw: add cluster name option to the handler MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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) --- roles/ceph-rgw/handlers/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5