We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e35547c commit 7c57af0Copy full SHA for 7c57af0
tasks/setup/main.yml
@@ -1,5 +1,8 @@
1
- name: include OS-specific variables
2
- include_vars: "{{ ansible_os_family }}.yml"
+ include_vars: "{{ item }}"
3
+ with_first_found:
4
+ - "{{ ansible_distribution }}.yml"
5
+ - "{{ ansible_os_family }}.yml"
6
7
- name: include Debian-specific tasks
8
include: Debian.yml
vars/Debian.yml
@@ -1,4 +1,4 @@
---
dependencies:
- - default-jdk
+ - openjdk-8-jdk
- sudo
vars/Ubuntu.yml
@@ -0,0 +1,4 @@
+---
+dependencies:
+ - default-jdk
+ - sudo
0 commit comments