From a166c946cb4c5e86329b83b123ee118bf27dee02 Mon Sep 17 00:00:00 2001 From: Tom Doel Date: Thu, 24 Oct 2024 20:18:32 +0100 Subject: [PATCH] Enable automatic clean-up of containers (#142) --- roles/xnat_container_service/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/xnat_container_service/tasks/main.yml b/roles/xnat_container_service/tasks/main.yml index 01e6e484..af50cc5f 100644 --- a/roles/xnat_container_service/tasks/main.yml +++ b/roles/xnat_container_service/tasks/main.yml @@ -55,6 +55,7 @@ "{{ xnat_container_service_path_translation_docker_prefix }}" pull-images-on-xnat-init: false container-user: "" + auto-cleanup: true validate_certs: "{{ xnat_container_service_validate_certs }}" status_code: 200, 201