---
-# file: roles/cleanup/tasks/kill_process.yaml
+# file: tasks/kill_process.yaml
- name: Kill Process - {{ process }}
block:
- name: Safe Kill {{ process }}
ansible.builtin.shell: "kill {{ item }}"
with_items: "{{ running_processes.stdout_lines }}"
+ ignore_errors: true
tags:
- kill-process