diff options
author | 2020-12-15 16:33:46 +0000 | |
---|---|---|
committer | 2020-12-17 09:32:19 +0000 | |
commit | d513fb2ae6cba746b9e4456c544668a07b5d40f2 (patch) | |
tree | a42b62ea9eb35c22958ea0a8a27b3f63d8de0fac /resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_process.yaml | |
parent | d910b96c6e5215f0d8961c121f086cd3c2703e43 (diff) |
Ansible: Fix cleanup procedures
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Ib0c3a508b32a4d5929cfc20a7a7813752350b7d9
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_process.yaml')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_process.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_process.yaml b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_process.yaml index a593fc7616..30a9f459b5 100644 --- a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_process.yaml +++ b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_process.yaml @@ -27,6 +27,7 @@ shell: "kill -9 {{ item }}" with_items: "{{ killed_processes.results | select('failed') | map(attribute='item') | list }}" tags: kill-process + rescue: - fail: msg: "Kill process {{ process }} failed!" |