From 69c8cfd2b9c20c8293f3bf4e8ca3d29649093b08 Mon Sep 17 00:00:00 2001 From: Lino Schmidt Date: Sat, 22 Jul 2023 21:37:21 +0200 Subject: [PATCH] added hostname --- diskspace.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diskspace.yml b/diskspace.yml index 08a3c80..495fab7 100644 --- a/diskspace.yml +++ b/diskspace.yml @@ -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