diff --git a/tests/integration/targets/docker_host_info/tasks/test_host_info.yml b/tests/integration/targets/docker_host_info/tasks/test_host_info.yml index 4dcee3a1..88de0c7e 100644 --- a/tests/integration/targets/docker_host_info/tasks/test_host_info.yml +++ b/tests/integration/targets/docker_host_info/tasks/test_host_info.yml @@ -341,11 +341,14 @@ - 'output.disk_usage.BuilderSize is number' always: - - name: Delete container + - name: Delete containers docker_container: - name: "{{ cname }}" + name: "{{ item }}" state: absent force_kill: yes + loop: + - "{{ cname }}" + - "{{ cname2 }}" - name: Delete volume docker_volume: