Reconfigure the java environment for R.

This commit is contained in:
Andrea Dell'Amico 2018-10-03 18:43:41 +02:00
parent 19541312ff
commit c702469cfe
2 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,9 @@
shell: /usr/local/bin/wps-config-fixer
# notify: Restart smartgears
- name: Reconfigure the Java environment for R
shell: R CMD javareconf
- name: Remove the file that lists the installed algorithms, after an upgrade
file: dest={{ smartgears_user_home }}/wps_algorithms_install_log/already_installed_algorithms.txt state=absent
register: reinstall_algorithms

View File

@ -72,6 +72,9 @@
- name: Install the cron job that regulary updates the Rprofile
cron: name="Update the RStudioConfiguration repo" special_time=daily job="cd {{ r_connector_rprofile_path }} ; svn update >/dev/null 2>&1"
- name: Reconfigure the Java environment for R
shell: R CMD javareconf
become: True
become_user: '{{ smartgears_user }}'
when: r_connector_install