[DEBUG]
This commit is contained in:
parent
74f9b1b429
commit
dd8204a5bf
@ -27,12 +27,16 @@
|
||||
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 + '$') |
|
||||
map(attribute='browser_download_url')
|
||||
}}
|
||||
|
||||
- debug:
|
||||
var: browser_download_url
|
||||
|
||||
- name: Extraire l'archive
|
||||
ansible.builtin.unarchive:
|
||||
src: "{{ browser_download_url | first }}"
|
||||
|
Loading…
Reference in New Issue
Block a user