From 8f3d820664b124d554c3267b00747dd53c8bf87f Mon Sep 17 00:00:00 2001
From: Sergey <s.bondarev@southbridge.ru>
Date: Fri, 10 Apr 2020 11:59:47 +0300
Subject: [PATCH] always download docker image on download_host when
 download_run_once=true (#5921)

---
 roles/download/tasks/download_container.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/download/tasks/download_container.yml b/roles/download/tasks/download_container.yml
index 1215911d0..fbf0831d2 100644
--- a/roles/download/tasks/download_container.yml
+++ b/roles/download/tasks/download_container.yml
@@ -59,7 +59,7 @@
       retries: 4
       become: "{{ user_can_become_root | default(false) or not download_localhost }}"
       when:
-        - pull_required
+        - pull_required or download_run_once
         - not image_is_cached
 
     - name: download_container | Save and compress image
-- 
GitLab