Commit 08998048 authored by Emmanuel Jaep's avatar Emmanuel Jaep
Browse files

remove R installation

parent 8c836b0d
......@@ -155,47 +155,6 @@
when: anaconda_installed.stat.exists == false
# R
- name: check that the semaphore file exists (i.e. R is already installed)
ansible.builtin.stat:
path: /root/.R-already_installed
register: r_installed
- block:
- name: install the required packages
apt:
name: "{{ item }}"
state: latest
update_cache: yes
cache_valid_time: 3600
install_recommends: false
with_items:
- software-properties-common
- dirmngr
- name: add the signing key (by Michael Rutter) for these repos
shell: "wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc"
- name: add the R 4.0 repo from CRAN
shell: "add-apt-repository \"deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/\""
- name: install the r-base and r-base-dev packages
apt:
name: "{{ item }}"
state: latest
update_cache: yes
cache_valid_time: 3600
install_recommends: false
with_items:
- r-base
- r-base-dev
- name: set the semaphore file to indicate that R is installed
file:
path: /root/.R-already_installed
state: touch
when: r_installed.stat.exists == false
# S3
- name: check that the semaphore file exists (i.e. S3 is already installed)
ansible.builtin.stat:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment