From 9404e92771d71b9789af385d28bbb3d3d4f668a9 Mon Sep 17 00:00:00 2001 From: "mhorak@totalservice.cz" Date: Thu, 14 Aug 2025 15:59:21 +0200 Subject: [PATCH] verze 2 --- www-windows-check-free-disk-space.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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: