forked from ISTI-ansible-roles/ansible-roles
OpenJDK role: Remove the Oracle PPA.
This commit is contained in:
parent
dbaec67696
commit
d2a999cedf
|
@ -19,3 +19,5 @@ openjdk_pkgs:
|
||||||
- jdk-headless
|
- jdk-headless
|
||||||
# - jre
|
# - jre
|
||||||
# - jdk
|
# - jdk
|
||||||
|
|
||||||
|
oracle_jdk_ubuntu_ppa: 'ppa:webupd8team/java'
|
||||||
|
|
|
@ -3,6 +3,9 @@
|
||||||
- name: Remove the openjdk-r ppa. It is not maintained anymore
|
- name: Remove the openjdk-r ppa. It is not maintained anymore
|
||||||
apt_repository: repo='{{ dismissed_openjdk_ppa }}' update_cache=yes state=absent
|
apt_repository: repo='{{ dismissed_openjdk_ppa }}' update_cache=yes state=absent
|
||||||
|
|
||||||
|
- name: Remove the Oracle JDK PPA
|
||||||
|
apt_repository: repo='{{ oracle_jdk_ubuntu_ppa }}' state=absent
|
||||||
|
|
||||||
- name: Check if we must use the Zulu repository
|
- name: Check if we must use the Zulu repository
|
||||||
set_fact:
|
set_fact:
|
||||||
openjdk_zulu_repo_install: True
|
openjdk_zulu_repo_install: True
|
||||||
|
|
Loading…
Reference in New Issue