* Fix download retry when get_url has no status_code. * Fix until clause in download role. Co-authored-by: Romain <58464216+RomainMou@users.noreply.github.com>pull/10799/head
parent
1bcd7395fa
commit
c264ae3016
|
@ -103,7 +103,7 @@
|
||||||
become: "{{ not download_localhost }}"
|
become: "{{ not download_localhost }}"
|
||||||
until: "'OK' in get_url_result.msg or
|
until: "'OK' in get_url_result.msg or
|
||||||
'file already exists' in get_url_result.msg or
|
'file already exists' in get_url_result.msg or
|
||||||
get_url_result.status_code == 304"
|
get_url_result.status_code | default() == 304"
|
||||||
retries: "{{ download_retries }}"
|
retries: "{{ download_retries }}"
|
||||||
delay: "{{ retry_stagger | default(5) }}"
|
delay: "{{ retry_stagger | default(5) }}"
|
||||||
environment: "{{ proxy_env }}"
|
environment: "{{ proxy_env }}"
|
||||||
|
|
Loading…
Reference in New Issue