mirror of https://github.com/ceph/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 <seb@redhat.com>pull/2431/head
parent
fd94840a6e
commit
7f19df8196
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: update period
|
- name: update period
|
||||||
command: radosgw-admin period update --commit
|
command: radosgw-admin --cluster {{ cluster }} period update --commit
|
||||||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||||
run_once: true
|
run_once: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue