From e97ab3a028f2d9d61235e9ffa1b21595602c4278 Mon Sep 17 00:00:00 2001 From: dweinholz Date: Thu, 5 Dec 2024 08:57:59 +0100 Subject: [PATCH] feat(RStudio):added rspm --- rstudio/rstudio.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/rstudio/rstudio.yml b/rstudio/rstudio.yml index ac6d176..c372332 100644 --- a/rstudio/rstudio.yml +++ b/rstudio/rstudio.yml @@ -1,17 +1,4 @@ --- -- name: PRE_TASK Update apt cache - become: true - ansible.builtin.apt: - upgrade: true - update_cache: true - autoremove: true - autoclean: true - -- name: Pip - ansible.builtin.apt: - name: python3-pip - state: latest - - name: Setup password for default user become: true ansible.builtin.user: @@ -20,6 +7,20 @@ update_password: always password_lock: false +- name: Update package index + become: true + apt: + update_cache: true + when: not rstudio_vars.create_only_backend + +- name: Install apt-file + become: true + apt: + name: apt-file + state: present + when: not rstudio_vars.create_only_backend + + - name: Install R role include_role: name: oefenweb.latest_r