ceph-ansible/roles/ceph-rgw/handlers/main.yml

11 lines
266 B
YAML

---
- name: update period
command: "{{ docker_exec_cmd }} radosgw-admin --cluster {{ cluster }} period update --commit"
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: true
- name: restart rgw
service:
name: ceph-radosgw@*
state: restarted