mirror of https://github.com/ceph/ceph-ansible.git
rgw: run the handler on a mon host
In case the admin wasn't copied over to the node this command would fail. So it's safer to run it from a monitor directly. Signed-off-by: Sébastien Han <seb@redhat.com>pull/2431/head
parent
1e283bf69b
commit
67f46d8ec3
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
- name: update period
|
||||
command: radosgw-admin period update --commit
|
||||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||
run_once: true
|
||||
|
||||
- name: restart rgw
|
||||
service:
|
||||
|
|
Loading…
Reference in New Issue