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

(cherry picked from commit e6a327fb82)
This commit is contained in:
Jordan Borean 2018-10-19 15:15:03 +10:00 committed by Matt Clay
parent 5e7d057b36
commit 97826dc970

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