68808534b3
Systemd reload before reload kubelet was failing because its definition was before "restart kubelet". Its definition should be after the notify hook.
15 lines
275 B
YAML
15 lines
275 B
YAML
---
|
|
- name: restart kubelet
|
|
command: /bin/true
|
|
notify:
|
|
- reload systemd
|
|
- reload kubelet
|
|
|
|
- name: reload systemd
|
|
command: systemctl daemon-reload
|
|
when: ansible_service_mgr == "systemd"
|
|
|
|
- name: reload kubelet
|
|
service:
|
|
name: kubelet
|
|
state: restarted
|