commit | 5dbafee6fe32f9a09246986e348e6418f258c669 | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@onlab.us> | Wed Jul 20 17:25:51 2016 -0400 |
committer | Andy Bavier <andy@onlab.us> | Wed Jul 20 14:28:04 2016 -0700 |
tree | aeee658e5a37427444a2c03d35bd6715f07ad9cf | |
parent | 1e78d898059ea47befdf058f64a240f678ab72d3 [diff] |
Add some retries to try to work around transient failures Change-Id: I000decebfdafd66aed1a1e0620eb926772905af4 (cherry picked from commit 66ee90186ba604c95fbb61144adf31e1ddd194f7)
diff --git a/roles/cloudlab-prep/tasks/main.yml b/roles/cloudlab-prep/tasks/main.yml index 5bf71a3..f66e94d 100644 --- a/roles/cloudlab-prep/tasks/main.yml +++ b/roles/cloudlab-prep/tasks/main.yml
@@ -13,4 +13,8 @@ command: /usr/testbed/bin/mkextrafs -r {{ item.dev }} -qf {{ item.mount }} creates={{ item.mount }}/lost+found with_items: "{{ cloudlab_extrafs }}" + register: result + until: result | success + retries: 3 + delay: 5
diff --git a/roles/simulate-fabric/files/simulate-fabric-playbook.yml b/roles/simulate-fabric/files/simulate-fabric-playbook.yml index 55b6587..da1e876 100644 --- a/roles/simulate-fabric/files/simulate-fabric-playbook.yml +++ b/roles/simulate-fabric/files/simulate-fabric-playbook.yml
@@ -13,6 +13,10 @@ update_cache=yes cache_valid_time=3600 become: yes + register: result + until: result | success + retries: 15 + delay: 60 with_items: - bridge-utils