From cb57c3c9160d86f077417fc9617776ce3ddad08b Mon Sep 17 00:00:00 2001 From: Nikita Velgin Date: Sun, 11 Oct 2020 18:26:47 +0300 Subject: [PATCH] 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 --- roles/kubernetes/kubeadm/handlers/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/kubernetes/kubeadm/handlers/main.yml b/roles/kubernetes/kubeadm/handlers/main.yml index b7b96f647..4c2b1257c 100644 --- a/roles/kubernetes/kubeadm/handlers/main.yml +++ b/roles/kubernetes/kubeadm/handlers/main.yml @@ -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