From fb30f887863e9cb15a6224a17b8f8b6a5982d1a2 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Wed, 13 Nov 2019 10:46:16 +0000 Subject: FIX: Ansible cleanup permission Change-Id: Ia79558b579e70aa666e8f84230f4bd2cafb33569 Signed-off-by: Peter Mikus --- .../testbed-setup/ansible/roles/cleanup/tasks/kill_containers.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resources/tools/testbed-setup/ansible/roles/cleanup/tasks') 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 -- cgit 1.2.3-korg