mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 01:28:11 -03:30
i.e when file was not modified since last download Co-authored-by: Mathieu Parent <mathieu.parent@insee.fr>
This commit is contained in:
@@ -101,7 +101,9 @@
|
||||
run_once: "{{ download_force_cache }}"
|
||||
register: get_url_result
|
||||
become: "{{ not download_localhost }}"
|
||||
until: "'OK' in get_url_result.msg or 'file already exists' in get_url_result.msg"
|
||||
until: "'OK' in get_url_result.msg or
|
||||
'file already exists' in get_url_result.msg or
|
||||
get_url_result.status_code == 304"
|
||||
retries: "{{ download_retries }}"
|
||||
delay: "{{ retry_stagger | default(5) }}"
|
||||
environment: "{{ proxy_env }}"
|
||||
|
||||
Reference in New Issue
Block a user