--- - name: restart kubelet if secrets changed command: /bin/true when: secret_changed|d(False) notify: restart kubelet - name: restart kubelet command: /bin/true notify: - Kubelet | reload systemd - Kubelet | reload kubelet - name: Kubelet | reload systemd command: systemctl daemon-reload - name: Kubelet | reload kubelet service: name: kubelet state: restarted