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

16 lines
286 B
YAML

---
- name: Kubeadm | restart kubelet
command: /bin/true
notify:
- Kubeadm | reload systemd
- Kubeadm | restart kubelet
- name: Kubeadm | reload systemd
systemd:
daemon_reload: true
- name: Kubeadm | restart kubelet
service:
name: kubelet
state: restarted