diff --git a/smartgears/dataminer_app/tasks/dataminer-app.yml b/smartgears/dataminer_app/tasks/dataminer-app.yml index 165fec23..d837652f 100644 --- a/smartgears/dataminer_app/tasks/dataminer-app.yml +++ b/smartgears/dataminer_app/tasks/dataminer-app.yml @@ -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 diff --git a/smartgears/r_connector/tasks/main.yml b/smartgears/r_connector/tasks/main.yml index fc924594..63e21ea9 100644 --- a/smartgears/r_connector/tasks/main.yml +++ b/smartgears/r_connector/tasks/main.yml @@ -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