Format messages.
This commit is contained in:
@@ -126,7 +126,7 @@
|
|||||||
method: POST
|
method: POST
|
||||||
body_format: json
|
body_format: json
|
||||||
body:
|
body:
|
||||||
text: Semaphore ran successful
|
text: {{ ansible_date_time.date }} { ansible_date_time.time }} (info): Playbook ran successful ({{ ansible_play_name }})
|
||||||
|
|
||||||
rescue:
|
rescue:
|
||||||
- name: Inform Mattermost about error
|
- name: Inform Mattermost about error
|
||||||
@@ -135,4 +135,4 @@
|
|||||||
method: POST
|
method: POST
|
||||||
body_format: json
|
body_format: json
|
||||||
body:
|
body:
|
||||||
text: Semaphore ran into error
|
text: {{ ansible_date_time.date }} { ansible_date_time.time }} (info): Playbook ran with error ({{ ansible_play_name }})
|
||||||
|
|||||||
Reference in New Issue
Block a user