commit | ca68f06f56fcf8c3d0c39b6222e21b8880006d84 | [log] [tgz] |
---|---|---|
author | David K. Bainbridge <dbainbri@ciena.com> | Thu Oct 27 11:04:33 2016 -0700 |
committer | David K. Bainbridge <dbainbri@ciena.com> | Thu Oct 27 11:04:33 2016 -0700 |
tree | 03407b65a259ef4cc731634288ad3ab477aae41a | |
parent | 5ec818717396ee353d6f80cc80aadab0e55c36c0 [diff] |
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