diff --git a/roles/java/tasks/main.yml b/roles/java/tasks/main.yml index 5e0e45d..22594bb 100644 --- a/roles/java/tasks/main.yml +++ b/roles/java/tasks/main.yml @@ -2,3 +2,5 @@ - import_tasks: openjdk-8.yml - import_tasks: openjdk-11.yml + +- import_tasks: openjdk-17.yml diff --git a/roles/java/tasks/openjdk-17.yml b/roles/java/tasks/openjdk-17.yml new file mode 100644 index 0000000..45d961e --- /dev/null +++ b/roles/java/tasks/openjdk-17.yml @@ -0,0 +1,7 @@ +--- +- name: install openjdk-17 from packages + become: yes + apt: + update_cache: yes + pkg: + - openjdk-17-jdk