Skip to content

Commit 7c57af0

Browse files
committed
Install Java 8 on Debian
1 parent e35547c commit 7c57af0

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

tasks/setup/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
- name: include OS-specific variables
2-
include_vars: "{{ ansible_os_family }}.yml"
2+
include_vars: "{{ item }}"
3+
with_first_found:
4+
- "{{ ansible_distribution }}.yml"
5+
- "{{ ansible_os_family }}.yml"
36

47
- name: include Debian-specific tasks
58
include: Debian.yml

vars/Debian.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
dependencies:
3-
- default-jdk
3+
- openjdk-8-jdk
44
- sudo

vars/Ubuntu.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
dependencies:
3+
- default-jdk
4+
- sudo

0 commit comments

Comments
 (0)