library/roles/R/tasks/r-installation.yml: Setup the R environment so that it finds the correct JDK.
This commit is contained in:
parent
ae17604335
commit
52cacc0267
|
@ -37,6 +37,11 @@
|
|||
when: r_install_cran_repo == 'present'
|
||||
tags: [ 'r_software', 'r_profile', 'r_pkg' ]
|
||||
|
||||
- name: Configure the JDK environment
|
||||
command: R CMD javareconf
|
||||
ignore_errors: True
|
||||
tags: [ 'r_software', 'r_profile', 'r_pkg', 'r_java' ]
|
||||
|
||||
- name: Install some packages needed by R packages when installed from source
|
||||
apt: pkg={{ item }} state={{ r_packages_state }} update_cache=yes force=yes cache_valid_time=3600
|
||||
with_items: '{{ r_distribution_required_packages | default([]) }}'
|
||||
|
|
Loading…
Reference in New Issue