Add task for installing java

This commit is contained in:
pgrondek 2020-07-01 13:49:09 +02:00
parent f02288523b
commit 25e50906ca
4 changed files with 19 additions and 0 deletions

View File

@ -4,3 +4,4 @@
- dwm
- ubuntu
- docker
- java

View File

@ -0,0 +1,4 @@
---
- import_tasks: openjdk-8.yml
- import_tasks: openjdk-11.yml

View File

@ -0,0 +1,7 @@
---
- name: install openjdk-11 from packages
become: yes
apt:
update_cache: yes
pkg:
- openjdk-8-jdk

View File

@ -0,0 +1,7 @@
---
- name: install openjdk-8 from packages
become: yes
apt:
update_cache: yes
pkg:
- openjdk-8-jdk