mirror of https://github.com/ceph/ceph-ansible.git
12 lines
357 B
YAML
12 lines
357 B
YAML
---
|
|
- 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@rgw.{{ ansible_hostname }}.{{ item.instance_name }}"
|
|
state: restarted
|
|
with_items: "{{ rgw_instances }}"
|