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

16 lines
275 B
YAML
Raw Normal View History

2015-10-03 20:19:50 +00:00
---
2016-01-25 01:01:25 +00:00
- name: restart kubelet
command: /bin/true
notify:
- reload systemd
2016-01-25 20:09:42 +00:00
- reload kubelet
- name: reload systemd
command: systemctl daemon-reload
when: ansible_service_mgr == "systemd"
2016-01-25 01:01:25 +00:00
- name: reload kubelet
2015-10-03 20:19:50 +00:00
service:
name: kubelet
state: restarted