commit | 66ee90186ba604c95fbb61144adf31e1ddd194f7 | [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 17:25:51 2016 -0400 |
tree | 2fc23792dc68aef94240b8cf329fb4ca5ac5b064 | |
parent | bd1d57139d7cf8675bade022bf23bc8ef9266578 [diff] |
Add some retries to try to work around transient failures Change-Id: I000decebfdafd66aed1a1e0620eb926772905af4
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