aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/download_pktgen
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/download_pktgen')
-rw-r--r--ansible/roles/download_pktgen/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ansible/roles/download_pktgen/tasks/main.yml b/ansible/roles/download_pktgen/tasks/main.yml
index ff71f207d..b5ac8cfe8 100644
--- a/ansible/roles/download_pktgen/tasks/main.yml
+++ b/ansible/roles/download_pktgen/tasks/main.yml
@@ -22,6 +22,10 @@
dest: "{{ pktgen_dest }}"
validate_certs: False
checksum: "{{ pktgen_sha256s[pktgen_version] }}"
+ register: package_result
+ until: package_result is succeeded
+ retries: 10
+ delay: 5
- unarchive:
src: "{{ pktgen_dest }}/{{ pktgen_file }}"