c12s-kubespray/roles/kubernetes/node/handlers/main.yml

21 lines
362 B
YAML
Raw Normal View History

2015-10-03 20:19:50 +00:00
---
- name: restart daemons
command: /bin/true
notify:
- reload systemd
- restart reloaded-kubelet
- name: reload systemd
command: systemctl daemon-reload
2015-10-03 20:19:50 +00:00
- name: restart kubelet
command: /bin/true
notify:
- reload systemd
- restart reloaded-kubelet
- name: restart reloaded-kubelet
2015-10-03 20:19:50 +00:00
service:
name: kubelet
state: restarted