review handlers for sysvinit

This commit is contained in:
Smaine Kahlouch
2016-01-04 14:22:18 +01:00
parent 2c35e4c055
commit 29bf90a858
4 changed files with 22 additions and 32 deletions

View File

@@ -1,6 +1,17 @@
---
- name : reload systemd
shell: systemctl daemon-reload
- name: restart systemd-calico-node
command: /bin/true
notify:
- reload systemd
- restart calico-node
- name: restart calico-node
service: name=calico-node state=restarted
service:
name: calico-node
state: restarted
- name: restart docker
service: name=docker state=restarted
@@ -23,6 +34,3 @@
- name: start docker
service: name=docker state=started
- name : reload systemd
shell: systemctl daemon-reload