Skip to content
Snippets Groups Projects
Commit 68808534 authored by mattymo's avatar mattymo
Browse files

Fix order in restart kubelet to fix systemd reload

Systemd reload before reload kubelet was failing because its definition was before "restart kubelet". Its definition should be after the notify hook.
parent cb92b30c
Branches
Tags
No related merge requests found
---
- name: reload systemd
command: systemctl daemon-reload
when: ansible_service_mgr == "systemd"
- 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment