diff --git a/rstudio/rstudio.yml b/rstudio/rstudio.yml index c372332..122afc6 100644 --- a/rstudio/rstudio.yml +++ b/rstudio/rstudio.yml @@ -20,7 +20,6 @@ state: present when: not rstudio_vars.create_only_backend - - name: Install R role include_role: name: oefenweb.latest_r @@ -38,6 +37,12 @@ type: github when: not rstudio_vars.create_only_backend +- name: Ensure .Rprofile file exists + become: true + file: + path: /home/{{ rstudio_vars.default_user }}/.Rprofile + state: touch + when: not rstudio_vars.create_only_backend - name: Configure R profile become: true become_user: ubuntu