commit | 8cbc1f8f0b24d6aad350b61549d84f18b418b515 | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@onlab.us> | Fri Feb 24 16:35:39 2017 -0500 |
committer | Andy Bavier <andy@onlab.us> | Fri Feb 24 17:29:10 2017 -0500 |
tree | ab0efc3f9c5c35bf6f03f83037ce893877a8c68b | |
parent | 0336337d0fbed94eb21a0378cdd897a31e616cf9 [diff] |
CORD-984 Retry adding PPAs Change-Id: I5a04c96980c46d6c58130f32337204a35d064a3c
diff --git a/roles/head-prep/tasks/main.yml b/roles/head-prep/tasks/main.yml index 4668bc1..af2eaf8 100644 --- a/roles/head-prep/tasks/main.yml +++ b/roles/head-prep/tasks/main.yml
@@ -15,6 +15,10 @@ with_items: - "{{ juju_apt_repo | default('ppa:juju/stable') }}" - "{{ ansible_apt_repo | default('ppa:ansible/ansible') }}" + register: result + until: result | success + retries: 3 + delay: 10 - name: Install packages apt: