diff --git a/textpro-ita/tasks/main.yml b/textpro-ita/tasks/main.yml index ef853ca4..587c5b79 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