Commit afc6c8ad authored by Staf Wagemakers's avatar Staf Wagemakers
Browse files

updated to verify the exit code of killall, only report a change if something is killed

parent 637e49d7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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