From 5f44f21397830495da82f5078d3b81de0557ec0d Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Thu, 19 Jan 2017 13:49:34 +0300 Subject: [PATCH] Debug container pulling message only on delegated download host --- roles/download/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/download/tasks/main.yml b/roles/download/tasks/main.yml index 2fb9434bf..95ce5344b 100644 --- a/roles/download/tasks/main.yml +++ b/roles/download/tasks/main.yml @@ -75,6 +75,7 @@ - name: pulling... debug: msg: "{{ pull_args }}" + delegate_to: "{{ download_delegate if download_run_once|bool else inventory_hostname }}" when: "{{ download.enabled|bool and download.container|bool }}" #NOTE(bogdando) this brings no docker-py deps for nodes