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

26 lines
454 B
YAML
Raw Normal View History

2015-10-03 20:19:50 +00:00
---
2016-01-04 13:22:18 +00:00
- name: restart systemd-kubelet
command: /bin/true
notify:
- reload systemd
2016-01-04 13:22:18 +00:00
- restart kubelet
- name: restart systemd-kube-apiserver
command: /bin/true
notify:
- reload systemd
- restart kube-apiserver
- name: reload systemd
command: systemctl daemon-reload
2016-01-04 13:22:18 +00:00
- name: restart kubelet
2015-10-03 20:19:50 +00:00
service:
name: kubelet
2015-10-03 20:19:50 +00:00
state: restarted
- name: restart kube-apiserver
service:
name: kube-apiserver
state: restarted