CORD-536 updated to support the setting of repo via vars

Change-Id: I84988b634967d8be2e5a9f3a79352be5efa9c0c0
diff --git a/ansible/roles/java8-oracle/tasks/main.yml b/ansible/roles/java8-oracle/tasks/main.yml
index 9bdc946..3c31110 100644
--- a/ansible/roles/java8-oracle/tasks/main.yml
+++ b/ansible/roles/java8-oracle/tasks/main.yml
@@ -5,7 +5,9 @@
 
 - name: Add Oracle Java repository
   become: yes
-  apt_repository: repo='ppa:webupd8team/java' update_cache=yes
+  apt_repository:
+    repo: "{{ java_apt_repo | default('ppa:webupd8team/java') }}"
+    update_cache: yes
 
 - name: Accept Java 8 license
   become: yes