Fix handler naming issue for Kubeadm | kubelet (#6803)
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 behaviorpull/6814/head
parent
92b1166dd0
commit
cb57c3c916
|
@ -3,13 +3,13 @@
|
|||
command: /bin/true
|
||||
notify:
|
||||
- Kubeadm | reload systemd
|
||||
- Kubeadm | restart kubelet
|
||||
- Kubeadm | reload kubelet
|
||||
|
||||
- name: Kubeadm | reload systemd
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
|
||||
- name: Kubeadm | restart kubelet
|
||||
- name: Kubeadm | reload kubelet
|
||||
service:
|
||||
name: kubelet
|
||||
state: restarted
|
||||
|
|
Loading…
Reference in New Issue