2014-03-04 02:08:51 +08:00
|
|
|
---
|
2014-09-05 03:14:11 +08:00
|
|
|
- name: update apt cache
|
2015-09-04 00:18:53 +08:00
|
|
|
apt:
|
|
|
|
update-cache: yes
|
2016-09-22 23:03:14 +08:00
|
|
|
when: ansible_os_family == 'Debian'
|
2014-03-04 02:08:51 +08:00
|
|
|
|
2015-03-03 00:13:30 +08:00
|
|
|
- name: restart ceph mons
|
2016-09-22 23:03:14 +08:00
|
|
|
include: "{{ playbook_dir }}/roles/ceph-common/handlers/restart-mon.yml"
|
2014-08-20 20:04:34 +08:00
|
|
|
|
2017-01-20 17:14:35 +08:00
|
|
|
- name: restart ceph osds
|
2016-09-22 23:03:14 +08:00
|
|
|
include: "{{ playbook_dir }}/roles/ceph-common/handlers/restart-osd.yml"
|
2015-07-01 00:07:03 +08:00
|
|
|
|
2015-03-03 00:13:30 +08:00
|
|
|
- name: restart ceph mdss
|
2016-09-22 23:03:14 +08:00
|
|
|
include: "{{ playbook_dir }}/roles/ceph-common/handlers/restart-mds.yml"
|
2015-07-01 00:07:03 +08:00
|
|
|
|
2015-03-03 00:13:30 +08:00
|
|
|
- name: restart ceph rgws
|
2016-09-22 23:03:14 +08:00
|
|
|
include: "{{ playbook_dir }}/roles/ceph-common/handlers/restart-rgw.yml"
|
2015-08-03 23:39:57 +08:00
|
|
|
|
2016-05-06 02:20:03 +08:00
|
|
|
- name: restart ceph nfss
|
|
|
|
service:
|
|
|
|
name: nfs-ganesha
|
|
|
|
state: restarted
|
|
|
|
when:
|
|
|
|
- nfs_group_name in group_names
|