summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/cleanup-containers/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/test/roles/cleanup-containers/tasks/main.yml')
-rw-r--r--ansible/test/roles/cleanup-containers/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/test/roles/cleanup-containers/tasks/main.yml b/ansible/test/roles/cleanup-containers/tasks/main.yml
new file mode 100644
index 00000000..3a800c9e
--- /dev/null
+++ b/ansible/test/roles/cleanup-containers/tasks/main.yml
@@ -0,0 +1,6 @@
+---
+- name: Remove containers
+ docker_container:
+ name: "{{ item }}"
+ state: absent
+ loop: "{{ container_list }}"