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

12 lines
357 B
YAML
Raw Normal View History

2016-08-08 11:16:15 +08:00
---
2016-08-11 05:05:27 +08:00
- name: update period
command: "{{ container_exec_cmd }} radosgw-admin --cluster {{ cluster }} period update --commit"
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: true
2016-08-17 02:57:01 +08:00
- name: restart rgw
service:
name: "ceph-radosgw@rgw.{{ ansible_hostname }}.{{ item.instance_name }}"
2016-08-17 02:57:01 +08:00
state: restarted
with_items: "{{ rgw_instances }}"