fix(download): validate mirrors on localhost (#9669)

pull/9060/head
Maxime Picaud 2023-03-23 16:04:32 +01:00 committed by GitHub
parent 3a5f5692ca
commit f6e4a231cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@
delegate_to: "{{ download_delegate if download_force_cache else inventory_hostname }}"
run_once: "{{ download_force_cache }}"
register: uri_result
become: "{{ not download_localhost }}"
until: uri_result is success
retries: "{{ download_retries }}"
delay: "{{ retry_stagger | default(5) }}"