From fd8c0effb7ee9a58f01459a1b47a2a5abd9f6816 Mon Sep 17 00:00:00 2001 From: "pulsar89.5" Date: Sun, 18 Jun 2023 12:38:30 +0200 Subject: [PATCH] [FIX] Ignorer la casse pour l'OS et l'architecture --- tasks/installation.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks/installation.yml b/tasks/installation.yml index 7a4a4d2..e85bdeb 100644 --- a/tasks/installation.yml +++ b/tasks/installation.yml @@ -27,9 +27,10 @@ browser_download_url: > {{ releases.json.assets | - selectattr('browser_download_url', 'search', '.tar.gz') | - selectattr('browser_download_url', 'search', hugo_os) | - selectattr('browser_download_url', 'search', hugo_architecture) | + rejectattr('browser_download_url', 'search', 'extended', 'ignorecase=true') | + selectattr('browser_download_url', 'search', '.tar.gz', 'ignorecase=true') | + selectattr('browser_download_url', 'search', hugo_os, 'ignorecase=true') | + selectattr('browser_download_url', 'search', hugo_architecture, 'ignorecase=true') | map(attribute='browser_download_url') }} -- 2.39.5