c12s-kubespray/roles/kubernetes/node/handlers/main.yml
2016-02-09 11:42:00 +01:00

15 lines
267 B
YAML

---
- name: reload systemd
command: systemctl daemon-reload
when: init_system == "systemd"
- name: restart kubelet
command: /bin/true
notify:
- reload systemd
- reload kubelet
- name: reload kubelet
service:
name: kubelet
state: restarted