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

25 lines
453 B
YAML
Raw Normal View History

---
2014-09-05 03:14:11 +08:00
- name: update apt cache
2015-09-04 00:18:53 +08:00
apt:
update-cache: yes
when: ansible_os_family == 'Debian'
- name: restart ceph mons
include: "./restart-mon.yml"
- name: restart ceph osds
include: "./restart-osd.yml"
- name: restart ceph mdss
include: "./restart-mds.yml"
- name: restart ceph rgws
include: "./restart-rgw.yml"
- name: restart ceph nfss
service:
name: nfs-ganesha
state: restarted
when:
- nfs_group_name in group_names