diff --git a/www-windows-check-free-disk-space.yaml b/www-windows-check-free-disk-space.yaml index 6b837ce..a4e69a6 100644 --- a/www-windows-check-free-disk-space.yaml +++ b/www-windows-check-free-disk-space.yaml @@ -19,12 +19,7 @@ msg: "the node {{ inventory_hostname }} has insufficient disk space: {{ freediskspace.stdout | trim }} GB (minimum required: 20 GB)" when: - freediskspace.stdout | trim | float < 20 - - - name: Get partition facts - hosts: windows - gather_facts: no - tasks: - + - name: Gather disk & partition facts community.windows.win_disk_facts: