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

20 lines
397 B
YAML
Raw Normal View History

2015-10-03 20:19:50 +00:00
---
- name: restart kubelet if secrets changed
command: /bin/true
when: secret_changed|d(False)
notify: restart kubelet
2016-01-25 01:01:25 +00:00
- name: restart kubelet
command: /bin/true
notify:
- Kubelet | reload systemd
- Kubelet | reload kubelet
- name: Kubelet | reload systemd
command: systemctl daemon-reload
- name: Kubelet | reload kubelet
2015-10-03 20:19:50 +00:00
service:
name: kubelet
state: restarted