2021-02-25 14:09:55 +01:00
|
|
|
---
|
|
|
|
- block:
|
|
|
|
- name: Install the R base packages.
|
|
|
|
yum: pkg={{ r_base_packages_el }} state={{ r_packages_main_state }}
|
|
|
|
|
2021-02-25 18:17:04 +01:00
|
|
|
- name: Link to the R etc directory
|
|
|
|
file:
|
|
|
|
src: '/usr/lib64/R/etc'
|
|
|
|
dest: '/etc/R'
|
|
|
|
state: link
|
|
|
|
|
2021-02-25 14:09:55 +01:00
|
|
|
- name: Install the R base development packages.
|
|
|
|
yum: pkg={{ r_base_packages_dev_el }} state={{ r_packages_main_state }}
|
|
|
|
when: r_el_dev_pkgs
|
|
|
|
|
|
|
|
- name: Install the R java base packages.
|
|
|
|
yum: pkg={{ r_base_packages_java_el }} state={{ r_packages_main_state }}
|
|
|
|
when: jdk_java_home is defined
|
|
|
|
|
|
|
|
- name: Install the R java base development packages.
|
|
|
|
yum: pkg={{ r_base_packages_java_dev_el }} state={{ r_packages_main_state }}
|
|
|
|
when:
|
|
|
|
- jdk_java_home is defined
|
|
|
|
- r_el_dev_pkgs
|
|
|
|
|
|
|
|
- name: Install some packages needed by R packages when installed from source
|
|
|
|
yum: pkg={{ r_distribution_required_el_packages }} state={{ r_packages_state }}
|
|
|
|
tags: [ 'r_software', 'r_pkg', 'r_deps' ]
|
|
|
|
|
|
|
|
tags: [ 'r_software', 'r_pkg' ]
|