diff --git a/test/integration/targets/prepare_http_tests/tasks/main.yml b/test/integration/targets/prepare_http_tests/tasks/main.yml index 583a24305bf..bb69662215e 100644 --- a/test/integration/targets/prepare_http_tests/tasks/main.yml +++ b/test/integration/targets/prepare_http_tests/tasks/main.yml @@ -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