updated to verify the exit code of killall, only report a change if something is killed
This commit is contained in:
parent
637e49d75e
commit
afc6c8add7
|
@ -10,9 +10,10 @@
|
|||
- k3s-node
|
||||
|
||||
- name: Killall containerd-shim-runc-v2
|
||||
register: killall_containerd_shim_runc_v2
|
||||
command: killall -9 containerd-shim-runc-v2
|
||||
changed_when: "killall_containerd_shim_runc_v2.rc == 0"
|
||||
failed_when: false
|
||||
changed_when: false
|
||||
|
||||
- name: Umount k3s filesystems
|
||||
include_tasks: umount_with_childeren.yml
|
||||
|
|
Loading…
Reference in New Issue