mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 13:57:21 +00:00
only try to create share on fs01
This commit is contained in:
1 parent
134296e0f1
commit
9be0203d35
1 file changed
+4
-2
@@ -3,19 +3,21 @@
|
||||
tags: create_shares
|
||||
block:
|
||||
- name: "Create study data share"
|
||||
tags: studydata_share
|
||||
win_share:
|
||||
name: "{{ studydata_volume_label }}"
|
||||
description: "{{ studydata_volume_label }} Drive"
|
||||
path: "{{ studydata_drive_letter }}:\\"
|
||||
list: no
|
||||
full: Administrators,Administrator,Everyone
|
||||
tags: studydata_share
|
||||
|
||||
- name: "Create File Transfer share"
|
||||
tags: filetransfer_share
|
||||
win_share:
|
||||
name: "{{ filetransfer_volume_label }}"
|
||||
description: "File Transfer Script shared drive"
|
||||
path: "{{ filetransfer_drive_letter }}:\\"
|
||||
list: no
|
||||
full: Administrator@{{ win_project }}.loc,file-transfer
|
||||
tags: filetransfer_share
|
||||
when: inventory_hostname in groups['meta-name_fs01']
|
||||
|
||||
Reference in new issue
Block a user