From d5dba0b1c99115416c8866f1e6ea5369fb4d5e58 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 23 Nov 2021 15:30:12 +0100 Subject: [PATCH] Format messages. --- semaphore.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/semaphore.yaml b/semaphore.yaml index c907817..c27c5e4 100644 --- a/semaphore.yaml +++ b/semaphore.yaml @@ -126,7 +126,7 @@ method: POST body_format: json body: - text: Semaphore ran successful + text: {{ ansible_date_time.date }} { ansible_date_time.time }} (info): Playbook ran successful ({{ ansible_play_name }}) rescue: - name: Inform Mattermost about error @@ -135,4 +135,4 @@ method: POST body_format: json body: - text: Semaphore ran into error + text: {{ ansible_date_time.date }} { ansible_date_time.time }} (info): Playbook ran with error ({{ ansible_play_name }})