From 3e352e3294b934955734ea66249da343b064dbd9 Mon Sep 17 00:00:00 2001 From: "pulsar89.5" Date: Sun, 18 Jun 2023 12:38:30 +0200 Subject: [PATCH] [DEBUG] --- tasks/installation.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tasks/installation.yml b/tasks/installation.yml index 7a4a4d2..894c961 100644 --- a/tasks/installation.yml +++ b/tasks/installation.yml @@ -27,9 +27,12 @@ browser_download_url: > {{ releases.json.assets | + rejectattr('browser_download_url', 'search', 'extended') | selectattr('browser_download_url', 'search', '.tar.gz') | - selectattr('browser_download_url', 'search', hugo_os) | - selectattr('browser_download_url', 'search', hugo_architecture) | + selectattr('browser_download_url', 'match', '(?i)' + hugo_os) | + selectattr('browser_download_url', 'match', '(?i)' + hugo_architecture) | +# selectattr('browser_download_url', 'search', hugo_os) | +# selectattr('browser_download_url', 'search', hugo_architecture) | map(attribute='browser_download_url') }}