forked from ISTI-ansible-roles/ansible-roles
Reconfigure the java environment for R.
This commit is contained in:
parent
19541312ff
commit
c702469cfe
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue