c12s-kubespray/roles/kubernetes/master/handlers/main.yml
Smaine Kahlouch 283c4169ac run apiserver as a service
reorder master handlers

typo for sysvinit
2016-01-23 14:21:04 +01:00

25 lines
454 B
YAML

---
- name: restart systemd-kubelet
command: /bin/true
notify:
- reload systemd
- restart kubelet
- name: restart systemd-kube-apiserver
command: /bin/true
notify:
- reload systemd
- restart kube-apiserver
- name: reload systemd
command: systemctl daemon-reload
- name: restart kubelet
service:
name: kubelet
state: restarted
- name: restart kube-apiserver
service:
name: kube-apiserver
state: restarted