OpenJDK role: Remove the Oracle PPA.

This commit is contained in:
Andrea Dell'Amico 2019-04-22 18:34:48 +02:00
parent dbaec67696
commit d2a999cedf
2 changed files with 5 additions and 0 deletions

View File

@ -19,3 +19,5 @@ openjdk_pkgs:
- jdk-headless - jdk-headless
# - jre # - jre
# - jdk # - jdk
oracle_jdk_ubuntu_ppa: 'ppa:webupd8team/java'

View File

@ -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