16358e8aae
Changed Wants=docker.service to docker.socket Renamed handlers for reloading systemd to contain role in task name.
15 lines
315 B
YAML
15 lines
315 B
YAML
---
|
|
- name: restart kubelet
|
|
command: /bin/true
|
|
notify:
|
|
- Kubelet | reload systemd
|
|
- Kubelet | reload kubelet
|
|
|
|
- name: Kubelet | reload systemd
|
|
command: systemctl daemon-reload
|
|
when: ansible_service_mgr == "systemd"
|
|
|
|
- name: Kubelet | reload kubelet
|
|
service:
|
|
name: kubelet
|
|
state: restarted
|