/etc/ansible/roles/ceph-ansible/roles/ceph-rgw/handlers/main.yml
---
- name: update period
  command: "{{ container_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