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 behavior
pull/6814/head
Nikita Velgin 2020-10-11 18:26:47 +03:00 committed by GitHub
parent 92b1166dd0
commit cb57c3c916
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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