aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/tg.yaml
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-02-10 08:14:40 +0000
committerPeter Mikus <pmikus@cisco.com>2021-02-17 08:52:05 +0000
commita9817d4b5ce0296062b49e100705661f32b77dc6 (patch)
tree5ef56a0d45801dbcb8dded2e0cf405dc5518fdb2 /resources/tools/testbed-setup/ansible/roles/cleanup/tasks/tg.yaml
parentbb982ded24c87f3cbc2f84e41d85e426cd9092a4 (diff)
Infra: Ansible docker images cleanup
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I8d67b8ad5db5c0a7c9b3fa892e1e66dab2f666d0
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/cleanup/tasks/tg.yaml')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/cleanup/tasks/tg.yaml16
1 files changed, 10 insertions, 6 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/tg.yaml b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/tg.yaml
index 9ac83bc9fc..fa2d2d2819 100644
--- a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/tg.yaml
+++ b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/tg.yaml
@@ -1,9 +1,13 @@
---
# file: roles/cleanup/tasks/tg.yaml
-- name: Kill processes - TRex
- import_tasks: kill_process.yaml
- vars:
- process: "_t-rex"
- when: docker_tg is undefined
- tags: kill-process
+- name: Host Cleanup
+ block:
+ - name: Kill Processes - TRex
+ import_tasks: kill_process.yaml
+ vars:
+ process: "_t-rex"
+ when:
+ - docker_tg is undefined
+ tags:
+ - kill-process