2014-03-04 02:08:51 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: "update apt cache"
|
|
|
|
action: apt update-cache=yes
|
2014-08-20 20:04:34 +08:00
|
|
|
|
2014-08-30 08:34:11 +08:00
|
|
|
- name: "restart ceph ubuntu"
|
2014-08-20 20:04:34 +08:00
|
|
|
shell: service ceph restart ; service ceph-osd-all restart
|
2014-08-30 08:34:11 +08:00
|
|
|
when: socket.rc == 0
|
2014-08-20 20:04:34 +08:00
|
|
|
|
2014-08-30 08:34:11 +08:00
|
|
|
- name: "restart ceph debian redhat"
|
2014-08-20 20:04:34 +08:00
|
|
|
command: service ceph restart
|
2014-08-30 08:34:11 +08:00
|
|
|
when: socket.rc == 0
|