From 2d170e53af012bec966e11dc6eca5335dfca1d29 Mon Sep 17 00:00:00 2001 From: Lino Schmidt Date: Sat, 22 Jul 2023 21:53:57 +0200 Subject: [PATCH] fix --- diskspace.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diskspace.yml b/diskspace.yml index daecd63..f8c80dc 100644 --- a/diskspace.yml +++ b/diskspace.yml @@ -8,8 +8,8 @@ - name: Send notification community.general.pushover: title: 'Disk Space Warning!' - msg: 'Disk usage from {{inventory_hostname}} is {{ disk_usage.stdout }}' + msg: 'Disk usage from {{inventory_hostname}} is at {{ disk_usage.stdout }}' app_token: '{{ app_token }}' user_key: '{{ user_key }}' delegate_to: localhost - when: disk_usage.stdout[:-1]|int > {{disk_threshold}} \ No newline at end of file + when: disk_usage.stdout[:-1]|int > disk_threshold|int \ No newline at end of file