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

33 lines
580 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
- restart reloaded-proxy
- 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
- name: restart proxy
command: /bin/true
notify:
- reload systemd
- restart reloaded-proxy
- name: restart reloaded-proxy
2015-10-03 20:19:50 +00:00
service:
name: kube-proxy
state: restarted