added hostname

This commit is contained in:
2023-07-22 21:37:21 +02:00
parent 828f23d7d3
commit 69c8cfd2b9

View File

@@ -7,8 +7,8 @@
- name: Send notification
community.general.pushover:
title: 'Disk Space Warning'
msg: 'Disk usage is {{ disk_usage.stdout }}!'
title: 'Disk Space Warning!'
msg: 'Disk usage from {{inventory_hostname}} is {{ disk_usage.stdout }}'
app_token: '{{ app_token }}'
user_key: '{{ user_key }}'
delegate_to: localhost