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

16 lines
275 B
YAML
Raw Normal View History

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