From b263057e25940ee2bdccd43f92f6a99eed16de8d Mon Sep 17 00:00:00 2001 From: Jean-Pierre Matsumoto Date: Tue, 5 Jan 2021 10:15:26 +0100 Subject: [PATCH] Avoid multiple downloads win_get_url has 'force' attribute set to 'true' by default. It forces redownload of url every time. --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 302531a..1bdddaa 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -105,6 +105,7 @@ win_get_url: url: "{{ mssql_installation_source }}" dest: "{{ mssql_temp_download_path }}\\SQLServer2017-SSEI-Dev.exe" + force: false - name: Use Media Downloader to fetch SQL Installation CABs to {{ mssql_installation_path }} win_shell: "{{ mssql_temp_download_path }}\\SQLServer2017-SSEI-Dev.exe /Action=Download /MediaPath={{ mssql_installation_path }} /MediaType=CAB /Quiet"