aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/download_l2fwd/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/download_l2fwd/tasks/main.yml')
-rw-r--r--ansible/roles/download_l2fwd/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ansible/roles/download_l2fwd/tasks/main.yml b/ansible/roles/download_l2fwd/tasks/main.yml
index 7f2ea25c4..43b0ec366 100644
--- a/ansible/roles/download_l2fwd/tasks/main.yml
+++ b/ansible/roles/download_l2fwd/tasks/main.yml
@@ -20,6 +20,10 @@
get_url:
url: "{{ l2fwd_url }}"
dest: "{{ l2fwd_dest }}"
+ register: package_result
+ until: package_result is succeeded
+ retries: 10
+ delay: 5
- unarchive:
src: "{{ l2fwd_dest }}/{{ l2fwd_file }}"