From 61791bbb3d0622507ce96593d5f082d26f2c24e5 Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Thu, 12 Apr 2018 14:29:34 +0300 Subject: [PATCH] Remove condition for docker pull when using download delegate --- roles/download/tasks/download_container.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/download/tasks/download_container.yml b/roles/download/tasks/download_container.yml index a5659619c..7e3923606 100644 --- a/roles/download/tasks/download_container.yml +++ b/roles/download/tasks/download_container.yml @@ -2,12 +2,11 @@ - name: container_download | Make download decision if pull is required by tag or sha256 include_tasks: set_docker_image_facts.yml delegate_to: "{{ download_delegate if download_run_once or omit }}" - delegate_facts: no + delegate_facts: yes run_once: "{{ download_run_once }}" when: - download.enabled - download.container - - group_names | intersect(download.groups) | length tags: - facts @@ -24,7 +23,6 @@ - download.enabled - download.container - pull_required|default(download_always_pull) - - group_names | intersect(download.groups) | length delegate_to: "{{ download_delegate }}" delegate_facts: yes run_once: yes