2014-03-04 02:08:51 +08:00
|
|
|
---
|
2014-09-05 03:14:11 +08:00
|
|
|
- name: update apt cache
|
2014-11-06 00:57:28 +08:00
|
|
|
apt: update-cache=yes
|
2014-03-04 02:08:51 +08:00
|
|
|
|
2014-09-05 03:14:11 +08:00
|
|
|
- name: restart ceph
|
2014-08-20 20:04:34 +08:00
|
|
|
command: service ceph restart
|
2014-08-30 08:34:11 +08:00
|
|
|
when: socket.rc == 0
|
2014-08-20 20:04:34 +08:00
|
|
|
|
2014-09-05 03:14:11 +08:00
|
|
|
- name: restart ceph-osd-all on ubuntu
|
2014-11-06 00:57:28 +08:00
|
|
|
shell: service ceph restart ; service ceph-osd-all restart
|
|
|
|
when: socket.rc == 0 and ansible_distribution == 'Ubuntu'
|