forked from ISTI-ansible-roles/ansible-roles
Set the full java environment variables before running 'R CMD javareconf'
This commit is contained in:
parent
c79bacd579
commit
ca7c22f72c
|
@ -50,7 +50,7 @@
|
|||
|
||||
- block:
|
||||
- name: Reconfigure the Java environment for R
|
||||
shell: R CMD javareconf
|
||||
shell: export JAVA_HOME=/usr/lib/jvm/java-8-oracle ; export J2SDKDIR=/usr/lib/jvm/java-8-oracle ; export J2REDIR=/usr/lib/jvm/java-8-oracle/jre ; R CMD javareconf
|
||||
|
||||
become: True
|
||||
become_user: root
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
|
||||
- block:
|
||||
- name: Reconfigure the Java environment for R
|
||||
shell: R CMD javareconf
|
||||
shell: export JAVA_HOME=/usr/lib/jvm/java-8-oracle ; export J2SDKDIR=/usr/lib/jvm/java-8-oracle ; export J2REDIR=/usr/lib/jvm/java-8-oracle/jre ; R CMD javareconf
|
||||
|
||||
become: True
|
||||
become_user: root
|
||||
|
|
Loading…
Reference in New Issue