From 7a8a22a3a8da47bc86134943301a3393a76e2930 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 1 Apr 2025 17:36:51 +0200 Subject: [PATCH] Added HOST parameter --- .../templates/systemd-notifier-telegram.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/systemd-notifier-telegram/templates/systemd-notifier-telegram.sh.j2 b/roles/systemd-notifier-telegram/templates/systemd-notifier-telegram.sh.j2 index ff1ecd3a..64871a30 100644 --- a/roles/systemd-notifier-telegram/templates/systemd-notifier-telegram.sh.j2 +++ b/roles/systemd-notifier-telegram/templates/systemd-notifier-telegram.sh.j2 @@ -1,2 +1,2 @@ #!/bin/bash -/usr/bin/curl -s -X POST https://api.telegram.org/bot{{ telegram_bot_token }}/sendMessage -d chat_id={{ telegram_chat_id }} -d text="service $1 failed" +/usr/bin/curl -s -X POST https://api.telegram.org/bot{{ telegram_bot_token }}/sendMessage -d chat_id={{ telegram_chat_id }} -d text="service $1 on $HOST failed"