diff --git a/www-windows-check-free-disk-space.yaml b/www-windows-check-free-disk-space.yaml index 638eb4e..78dc5a0 100644 --- a/www-windows-check-free-disk-space.yaml +++ b/www-windows-check-free-disk-space.yaml @@ -56,7 +56,7 @@ # Smallest Recovery partition on this host (if any) - name: Compute smallest Recovery partition size (bytes) ansible.builtin.set_fact: - recovery_min_bytes: "{{ (winre_parts | map(attribute='SizeBytes') | list) | min }}" + recovery_min_bytes: "{{ winre_parts | map(attribute='SizeBytes') | map('int') | list | min }}" when: winre_parts | length > 0 changed_when: false