From bdd0b47a1f9a8d6e720ea970ba15250a7bf0c870 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 24 Jul 2018 18:48:09 +0200 Subject: [PATCH] Add the JDK as dependency for elasticsearch. --- ELK/elasticsearch/meta/main.yml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 ELK/elasticsearch/meta/main.yml diff --git a/ELK/elasticsearch/meta/main.yml b/ELK/elasticsearch/meta/main.yml new file mode 100644 index 0000000..12a1f43 --- /dev/null +++ b/ELK/elasticsearch/meta/main.yml @@ -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) }