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 <seb@redhat.com>
pull/2431/head
Sébastien Han 2018-03-01 16:50:06 +01:00 committed by Guillaume Abrioux
parent fd94840a6e
commit 7f19df8196
1 changed files with 1 additions and 1 deletions

View File

@ -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