-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify exact java_package to install for test dependencies
- Loading branch information
1 parent
901845f
commit f3c3420
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,25 @@ | ||
--- | ||
- hosts: localhost | ||
connection: local | ||
remote_user: root | ||
tasks: | ||
- name: installing repo for Java 8 in Ubuntu | ||
apt_repository: repo='ppa:openjdk-r/ppa' | ||
when: | ||
- ansible_os_family == 'Debian' | ||
|
||
- hosts: localhost | ||
connection: local | ||
remote_user: root | ||
roles: | ||
- role: geerlingguy.java | ||
java_packages: | ||
- openjdk-8-jdk | ||
when: ansible_os_family == 'Debian' | ||
|
||
- role: geerlingguy.java | ||
java_packages: | ||
- java-1.8.0-openjdk | ||
when: ansible_os_family == 'RedHat' | ||
|
||
- role: AnsibleShipyard.ansible-zookeeper |