From 0b469c5cda6ed7108cdb66a0b8648b96a91fcd17 Mon Sep 17 00:00:00 2001 From: Danny de Kooker Date: Mon, 17 Jun 2024 08:55:31 +0200 Subject: [PATCH] debug notification --- Testing/maint-reboot-required-notify.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Testing/maint-reboot-required-notify.yaml b/Testing/maint-reboot-required-notify.yaml index cd97299..1b7dd11 100644 --- a/Testing/maint-reboot-required-notify.yaml +++ b/Testing/maint-reboot-required-notify.yaml @@ -23,11 +23,11 @@ set_fact: results: > {{ 'Reboot required on ' ~ inventory_hostname ~ ' with reboot status: ' ~ (reboot.stat.exists | ternary('True', 'False')) }} - + - name: Send notification to Teams uri: url: "{{ Teams_webhook }}" method: POST body: "{{ results }}" body_format: json - when: reboot.stat.exists \ No newline at end of file + # when: reboot.stat.exists \ No newline at end of file