2015-05-28 11:32:57 +02:00
|
|
|
---
|
|
|
|
- name: Set OpenJDK 6 as default
|
|
|
|
shell: update-java-alternatives -s java-1.6.0-openjdk-amd64
|
|
|
|
|
|
|
|
- name: Set OpenJDK 7 as default
|
|
|
|
shell: update-java-alternatives -s java-1.7.0-openjdk-amd64
|
|
|
|
|
|
|
|
- name: Set OpenJDK 8 as default
|
|
|
|
shell: update-java-alternatives -s java-1.8.0-openjdk-amd64
|
|
|
|
|
|
|
|
- name: Set the default OpenJDK
|
2016-09-30 18:36:33 +02:00
|
|
|
shell: update-java-alternatives -s java-1.{{ item }}.0-openjdk-amd64
|
|
|
|
with_items: '{{ openjdk_default }}'
|
2015-05-28 11:32:57 +02:00
|
|
|
|