aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/testbed-setup')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_containers.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_containers.yaml b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_containers.yaml
index a61aa6ceee..f5948fb3b3 100644
--- a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_containers.yaml
+++ b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_containers.yaml
@@ -8,6 +8,7 @@
tags: kill-containers
- name: Kill container - Remove all Docker containers
+ become: yes
docker_container:
name: "{{ item }}"
state: absent
@@ -21,6 +22,7 @@
tags: kill-containers
- name: Kill container - Remove all LXC containers
+ become: yes
lxc_container:
name: '{{ item }}'
state: absent