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