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
diff --git a/roles/java8-oracle/tasks/main.yml b/roles/java8-oracle/tasks/main.yml
index 8573f43..5ae8646 100644
--- a/roles/java8-oracle/tasks/main.yml
+++ b/roles/java8-oracle/tasks/main.yml
@@ -8,6 +8,10 @@
   apt_repository:
     repo: "{{ java_apt_repo | default('ppa:webupd8team/java') }}"
     update_cache: yes
+  register: result
+  until: result | success
+  retries: 3
+  delay: 10
 
 - name: Accept Java 8 License
   become: yes
diff --git a/roles/maas/tasks/main.yml b/roles/maas/tasks/main.yml
index b23ce7b..27a7bde 100644
--- a/roles/maas/tasks/main.yml
+++ b/roles/maas/tasks/main.yml
@@ -58,6 +58,10 @@
     update_cache: yes
     state: present
     validate_certs: no
+  register: result
+  until: result | success
+  retries: 3
+  delay: 10
 
 - name: MAAS
   become: yes