diff options
Diffstat (limited to 'fdio.infra.ansible/roles/cleanup/tasks/sut.yaml')
-rw-r--r-- | fdio.infra.ansible/roles/cleanup/tasks/sut.yaml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/fdio.infra.ansible/roles/cleanup/tasks/sut.yaml b/fdio.infra.ansible/roles/cleanup/tasks/sut.yaml index 396e442b4e..22bf596369 100644 --- a/fdio.infra.ansible/roles/cleanup/tasks/sut.yaml +++ b/fdio.infra.ansible/roles/cleanup/tasks/sut.yaml @@ -1,5 +1,5 @@ --- -# file: roles/cleanup/tasks/sut.yaml +# file: tasks/sut.yaml - name: Host Cleanup block: @@ -38,6 +38,13 @@ tags: - kill-process + - name: Kill Processes - vpp + import_tasks: kill_process.yaml + vars: + process: "vpp" + tags: + - kill-process + - name: Kill Processes - vpp_echo import_tasks: kill_process.yaml vars: @@ -46,7 +53,7 @@ - kill-process - name: Find File Or Dir - Core Zip File - find: + ansible.builtin.find: paths: "/tmp/" patterns: "*tar.lzo.lrz.xz*" register: files_to_delete @@ -54,7 +61,7 @@ - remove-file-dir - name: Remove File Or Dir - Core Zip File - file: + ansible.builtin.file: path: "{{ item.path }}" state: absent with_items: "{{ files_to_delete.files }}" @@ -62,7 +69,7 @@ - remove-file-dir - name: Find File Or Dir - Core Dump File - find: + ansible.builtin.find: paths: "/tmp/" patterns: "*core*" register: files_to_delete @@ -70,7 +77,7 @@ - remove-file-dir - name: Remove File Or Dir - Core Dump File - file: + ansible.builtin.file: path: "{{ item.path }}" state: absent with_items: "{{ files_to_delete.files }}" |