mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-04 05:04:22 -07:00
ansible-test: add retry for Windows httptester download (#47334)
This commit is contained in:
parent
e844bfe1d4
commit
e6a327fb82
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…
Add table
Add a link
Reference in a new issue