This commit is contained in:
2025-08-14 16:20:21 +02:00
parent e286ecf934
commit 245a5a945b

View File

@@ -2,6 +2,7 @@
- name: Check Free Disk Space
hosts: windows
gather_facts: false
tasks:
- name: "Check Free Disk Space in C:"
win_shell: |
@@ -31,7 +32,7 @@
@{n='SizeBytes';e={$_.Size}},
@{n='SizeMB';e={[math]::Round($_.Size/1MB,2)}},
GptType, Type )
$parts | ConvertTo-Json -Compress -Depth 4
$parts | ConvertTo-Json -Compress -Depth 4
register: winre_raw
changed_when: false