From f5a4968cf5a7822dd64e3cc9ab857dc081346e90 Mon Sep 17 00:00:00 2001 From: Lucendio Date: Fri, 14 Jan 2022 17:29:44 +0100 Subject: [PATCH] Fix default download URL path The download URL path for older versions seems to have changed. So, the download of artifacts results in a 404 for cases where a specific release version is being defined (see tasks 'Compose ... download url)'. The proposed adjustments aims to fix this issue. Note that if a release version is not defined explicitly, the proposed change still works, because the latest versions are placed in the archive folder, too. --- vars/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vars/main.yml b/vars/main.yml index 1cc7408..8a00cbc 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -8,7 +8,7 @@ go_arch_map: go_arch: "{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}" -minio_default_server_artifact_url: "https://dl.minio.io/server/minio/release/linux-{{ go_arch }}/minio" -minio_default_client_artifact_url: "https://dl.minio.io/client/mc/release/linux-{{ go_arch }}/mc" +minio_default_server_artifact_url: "https://dl.minio.io/server/minio/release/linux-{{ go_arch }}/archive/minio" +minio_default_client_artifact_url: "https://dl.minio.io/client/mc/release/linux-{{ go_arch }}/archive/mc" minio_server_old_credentials_envfile: "{{ minio_server_envfile }}.pre"