cb57c3c916
Handlers with the same name (Kubeadm | restart kubelet) leads to incorrect playbook execution. As a result, after completing the tasks, kubelet does not restart. This PR fix this behavior
15 lines
284 B
YAML
15 lines
284 B
YAML
---
|
|
- name: Kubeadm | restart kubelet
|
|
command: /bin/true
|
|
notify:
|
|
- Kubeadm | reload systemd
|
|
- Kubeadm | reload kubelet
|
|
|
|
- name: Kubeadm | reload systemd
|
|
systemd:
|
|
daemon_reload: true
|
|
|
|
- name: Kubeadm | reload kubelet
|
|
service:
|
|
name: kubelet
|
|
state: restarted
|