Skip to content

Commit 9b4cf28

Browse files
committedSep 22, 2023
Remove existing RStudio before clone
1 parent 29280e1 commit 9b4cf28

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed
 

‎roles/ood_rstudio/tasks/main.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
---
2+
- name: Remove existing RStudio app install
3+
file:
4+
path: "{{ ood_sys_apps_dir }}/bc_rstudio_server"
5+
state: absent
6+
7+
- name: Create RStudio app directory
8+
file:
9+
path: "{{ ood_sys_apps_dir }}/bc_rstudio_server"
10+
state: directory
11+
212
- name: Clone template repo from upstream
313
git:
414
repo: "{{ rstudio_ood_app_repo }}"
515
dest: "{{ ood_sys_apps_dir }}/bc_rstudio_server"
616
refspec: "{{ rstudio_ood_app_refspec }}"
7-
force: yes
817
version: "{{ rstudio_ood_app_version }}"

0 commit comments

Comments
 (0)
Please sign in to comment.