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