fix
This commit is contained in:
@@ -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}}
|
||||
when: disk_usage.stdout[:-1]|int > disk_threshold|int
|
||||
Reference in New Issue
Block a user