Ansible role that installs R itself, R packages (from CRAN, archived and remote repos) and associated tools.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
778 B

---
- name: Include R_package_dependencies variable
ansible.builtin.include_vars:
file: dependencies-packages.yml
- name: Install dependencies for our R packages
ansible.builtin.apt:
state: present
name: "{{ R_package_dependencies }}"
- name: Install dependencies for R on guests
when:
- "'luxor' not in group_names"
- ansible_distribution_release == "bionic"
block:
- name: Copy libicu DEB-file to host
ansible.builtin.copy:
src: libicu65_65.1-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
dest: /var/cache/apt/archives/
register: R_libicu_path
- name: Install libicu DEB-file for Ubuntu Bionic 18.04
ansible.builtin.apt:
state: present
deb: "{{ R_libicu_path.dest }}"
# END OF BLOCK