Add the JDK as dependency for elasticsearch.

This commit is contained in:
Andrea Dell'Amico 2018-07-24 18:48:09 +02:00
parent c4c31465c0
commit bdd0b47a1f
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
---
dependencies:
- { role: '../../../library/roles/oracle-jdk', when: openjdk_install is not defined or not openjdk_install }
- { role: '../../../library/roles/openjdk', when: openjdk_install | default(False) }