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

11 lines
267 B
YAML

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