---
- name: update period
command: radosgw-admin period update --commit
- name: restart rgw
service:
name: ceph-radosgw@rgw.{{ ansible_host }}
state: restarted