Skip to content

Commit acd7165

Browse files
authored
Merge pull request #456 from diedpigs/feat-ood-rstudio-task
Remove existing RStudio before clone
2 parents 29280e1 + 9b4cf28 commit acd7165

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)