added Role win_study

This commit is contained in:
abrown38 committed 2024-04-23 10:13:00 +00:00
1 parent a02177f762
commit 4cea3b4c82
6 files changed
+112

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
---
- name: Check status of project
tags: check_project
block:
- name: Check if study folder already exists
win_stat:
path: "{{ study_folder }}"
register: folder
failed_when: folder.stat.exists
rescue:
- name: Force fail when study folder already present
fail:
msg="This study folder is already present"