aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/cleanup/tasks
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-05-05 08:10:29 +0000
committerpmikus <peter.mikus@protonmail.ch>2023-05-05 08:10:29 +0000
commitd4f8ab4aa9b8f918e31d85802dad62a225bbe775 (patch)
tree078897dc551989a2e50cead23526613ba3877d22 /fdio.infra.ansible/roles/cleanup/tasks
parent089b5394689ac28e2e77e16d51197c19cc3dd486 (diff)
fix(ansible): Docker image roles
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ic9f9044ffd7ba1a8720fc029aaf2bd154eb043a5
Diffstat (limited to 'fdio.infra.ansible/roles/cleanup/tasks')
-rw-r--r--fdio.infra.ansible/roles/cleanup/tasks/kill_containers.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdio.infra.ansible/roles/cleanup/tasks/kill_containers.yaml b/fdio.infra.ansible/roles/cleanup/tasks/kill_containers.yaml
index 2c01b95a15..22239b1ebb 100644
--- a/fdio.infra.ansible/roles/cleanup/tasks/kill_containers.yaml
+++ b/fdio.infra.ansible/roles/cleanup/tasks/kill_containers.yaml
@@ -4,7 +4,7 @@
- name: Kill Docker Containers
block:
- name: Kill Container - Get Running Docker Containers
- ansible.builtin.shell: "docker ps -aq"
+ ansible.builtin.shell: "docker ps -a --filter name=DUT -q"
register: running_containers
changed_when: false
tags: