diff --git a/www-windows-check-free-disk-space.yaml b/www-windows-check-free-disk-space.yaml index e2d5419..2afda53 100644 --- a/www-windows-check-free-disk-space.yaml +++ b/www-windows-check-free-disk-space.yaml @@ -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