diff options
author | Jordan Borean <jborean93@gmail.com> | 2018-10-19 15:15:03 +1000 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2018-10-19 07:30:14 -0700 |
commit | d8b05366b67363f8f8e052f890188e042f1b909e (patch) | |
tree | 9aec8fa0d3a6058646ee3170afe1462668c7edda | |
parent | fca7eec760ea5ea55b30ac1bda6ab73df299938c (diff) | |
download | ansible-d8b05366b67363f8f8e052f890188e042f1b909e.tar.gz |
ansible-test: add retry for Windows httptester download (#47334)
(cherry picked from commit e6a327fb8201124e3875325b28e7e7f698a9f5c1)
-rw-r--r-- | test/integration/targets/prepare_http_tests/tasks/main.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/targets/prepare_http_tests/tasks/main.yml b/test/integration/targets/prepare_http_tests/tasks/main.yml index 583a24305b..bb69662215 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 |