2016-08-08 11:16:15 +08:00
|
|
|
---
|
2016-08-11 05:05:27 +08:00
|
|
|
- name: update period
|
2019-04-10 15:23:17 +08:00
|
|
|
command: "{{ docker_exec_cmd }} radosgw-admin --cluster {{ cluster }} period update --commit"
|
2018-03-01 23:46:01 +08:00
|
|
|
delegate_to: "{{ groups[mon_group_name][0] }}"
|
|
|
|
run_once: true
|
2016-08-17 02:57:01 +08:00
|
|
|
|
|
|
|
- name: restart rgw
|
|
|
|
service:
|
2017-01-29 02:09:03 +08:00
|
|
|
name: ceph-radosgw@rgw.{{ ansible_hostname }}
|
2016-08-17 02:57:01 +08:00
|
|
|
state: restarted
|