ansible-test: add retry for Windows httptester download (#47334)
(cherry picked from commit e6a327fb82
)
This commit is contained in:
parent
7f4945a8f1
commit
7269eb5413
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,10 @@
|
||||||
win_get_url:
|
win_get_url:
|
||||||
url: http://ansible.http.tests/{{ item }}
|
url: http://ansible.http.tests/{{ item }}
|
||||||
dest: '{{ win_output_dir }}\{{ item }}'
|
dest: '{{ win_output_dir }}\{{ item }}'
|
||||||
|
register: win_download
|
||||||
|
# Server 2008 R2 is slightly slower, we attempt 5 retries
|
||||||
|
retries: 5
|
||||||
|
until: win_download is successful
|
||||||
when: ansible_os_family == 'Windows'
|
when: ansible_os_family == 'Windows'
|
||||||
with_items:
|
with_items:
|
||||||
- client.pem
|
- client.pem
|
||||||
|
|
Loading…
Reference in a new issue