mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-29 16:26:51 +00:00
Remove MFT directory on teardown
This commit is contained in:
1 parent
527b8f7de7
commit
3f54917ebe
2 files changed
+6
-1
No files matched your search
@@ -10,7 +10,7 @@
|
|||||||
owner: sg-transfer # not applying
|
owner: sg-transfer # not applying
|
||||||
group: sg-transfer # not applying
|
group: sg-transfer # not applying
|
||||||
|
|
||||||
- name: Create the mount point
|
- name: Create MFT directory
|
||||||
file:
|
file:
|
||||||
path: "{{ mft_directory }}"
|
path: "{{ mft_directory }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
|||||||
@@ -10,6 +10,11 @@
|
|||||||
state: absent
|
state: absent
|
||||||
fstype: cifs
|
fstype: cifs
|
||||||
|
|
||||||
|
- name: Remove MFT directory
|
||||||
|
file:
|
||||||
|
path: "{{ mft_directory }}"
|
||||||
|
state: absent
|
||||||
|
|
||||||
- name: Remove smb-credential template
|
- name: Remove smb-credential template
|
||||||
file:
|
file:
|
||||||
path: "{{ credentials_path }}"
|
path: "{{ credentials_path }}"
|
||||||
|
|||||||
Reference in new issue
Block a user