Skip to content

Commit

Permalink
Specify exact java_package to install for test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestas-poskus committed Jul 24, 2017
1 parent 901845f commit f3c3420
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/dependencies.yml
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

0 comments on commit f3c3420

Please sign in to comment.