From 2ab0e06dc4351ecf21c95122fb7c1aabf1dd8adb Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 22 Apr 2019 18:51:59 +0200 Subject: [PATCH] textpro-ita: the JAVA_HOME variable is not set to the oracle JDK. Add openjdk as a role dependency. --- textpro-ita/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/textpro-ita/tasks/main.yml b/textpro-ita/tasks/main.yml index ef853ca..587c5b7 100644 --- a/textpro-ita/tasks/main.yml +++ b/textpro-ita/tasks/main.yml @@ -24,7 +24,7 @@ creates: /srv/textpro-ita/TextPro2.0/modules/MaltParser/model/ITA/tut-tagpro-fulltrain.mco - name: Compile and install the TextPro ITA distribution - shell: cd /srv/textpro-ita/TextPro2.0 ; export JAVA_HOME=/usr/lib/jvm/java-8-oracle ; ./INSTALL.sh > /srv/textpro_ita_install.log 2>&1 + shell: cd /srv/textpro-ita/TextPro2.0 ; export JAVA_HOME={{ jdk_java_home }} ; ./INSTALL.sh > /srv/textpro_ita_install.log 2>&1 args: creates: /srv/textpro-ita/TextPro2.0/textpro.sh