Correction of variable usages.

This commit is contained in:
2021-11-23 15:31:00 +01:00
parent d5dba0b1c9
commit 1ee390711d

View File

@@ -126,7 +126,7 @@
method: POST
body_format: json
body:
text: {{ ansible_date_time.date }} { ansible_date_time.time }} (info): Playbook ran successful ({{ ansible_play_name }})
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: {{ ansible_date_time.date }} { ansible_date_time.time }} (info): Playbook ran with error ({{ ansible_play_name }})
text: "{{ ansible_date_time.date }} { ansible_date_time.time }} (info): Playbook ran with error ({{ ansible_play_name }})"