ansible-test: add retry for Windows httptester download (#47334)

This commit is contained in:
Jordan Borean 2018-10-19 15:15:03 +10:00 committed by GitHub
parent e844bfe1d4
commit e6a327fb82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,6 +47,10 @@
win_get_url:
url: http://ansible.http.tests/{{ 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'
with_items:
- client.pem