commit | e8823060e927e4241383766148156030183a9679 | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@onlab.us> | Fri Feb 24 16:34:01 2017 -0500 |
committer | Andy Bavier <andy@onlab.us> | Fri Feb 24 17:31:20 2017 -0500 |
tree | fb383d0c24a92c44e4674c613d8ede92e077acfe | |
parent | 38184c344d11c012cca079efabb10b1f2b5d9ad0 [diff] [blame] |
CORD-984 Retry adding PPAs Change-Id: I90b0a637875a34df5301528e22cd092877d9e8c0
diff --git a/roles/ansible/tasks/main.yml b/roles/ansible/tasks/main.yml index 10a5293..cd98dac 100644 --- a/roles/ansible/tasks/main.yml +++ b/roles/ansible/tasks/main.yml
@@ -2,6 +2,10 @@ become: yes apt_repository: repo: "{{ ansible_apt_repo | default('ppa:ansible/ansible') }}" + register: result + until: result | success + retries: 3 + delay: 10 - name: Ensure Ansible become: yes