31 lines
1000 B
YAML
31 lines
1000 B
YAML
---
|
|
- block:
|
|
- name: Install the R base packages.
|
|
yum: pkg={{ r_base_packages_el }} state={{ r_packages_main_state }}
|
|
|
|
- name: Link to the R etc directory
|
|
file:
|
|
src: '/usr/lib64/R/etc'
|
|
dest: '/etc/R'
|
|
state: link
|
|
|
|
- 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' ]
|