From a3c6a1a24900f94d3bee1302fd5832d366730f62 Mon Sep 17 00:00:00 2001 From: Lino Schmidt Date: Sat, 22 Jul 2023 21:30:42 +0200 Subject: [PATCH] fixed var --- diskspace.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diskspace.yml b/diskspace.yml index fc99962..08f2dc9 100644 --- a/diskspace.yml +++ b/diskspace.yml @@ -12,4 +12,4 @@ app_token: '{{ app_token }}' user_key: '{{ user_key }}' delegate_to: localhost - when: disk_usage.stdout > {{ disk_threshold }} \ No newline at end of file + when: disk_usage.stdout[:-1]|int > {{ disk_threshold }} \ No newline at end of file