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