commit | 825e159e162be8cb4ad06130b7bfc70fbd6f4935 | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@onlab.us> | Fri Feb 24 16:28:01 2017 -0500 |
committer | Andy Bavier <andy@onlab.us> | Fri Feb 24 17:30:46 2017 -0500 |
tree | 7b2fa101c08f541c6f0cc8e8d85ef017f7681994 | |
parent | e0dedec213a235311189302cba59084a3cc132df [diff] |
CORD-984 Retry adding PPAs Change-Id: I148de86eb848081043d8e81f27b8bd5c7fef24f7
diff --git a/ansible/roles/buildtools/tasks/main.yml b/ansible/roles/buildtools/tasks/main.yml index 3ade330..600b664 100644 --- a/ansible/roles/buildtools/tasks/main.yml +++ b/ansible/roles/buildtools/tasks/main.yml
@@ -3,6 +3,10 @@ repo: ppa:git-core/ppa state: present update_cache: yes + register: result + until: result | success + retries: 3 + delay: 10 - name: Apt packages apt:
diff --git a/ansible/roles/java8-oracle/tasks/main.yml b/ansible/roles/java8-oracle/tasks/main.yml index 9bd7af2..b849297 100644 --- a/ansible/roles/java8-oracle/tasks/main.yml +++ b/ansible/roles/java8-oracle/tasks/main.yml
@@ -11,6 +11,10 @@ become: yes apt_repository: repo: 'ppa:webupd8team/java' + register: result + until: result | success + retries: 3 + delay: 10 - name: Accept Java 8 license become: yes