Correct usage of variables.

This commit is contained in:
Christian Steinle
2022-07-19 11:22:28 +02:00
parent 59c467715e
commit 9658c05248
4 changed files with 8 additions and 8 deletions

View File

@@ -67,7 +67,7 @@
message: "{{ ansible_date_time.date }} {{ ansible_date_time.time }}: Playbook ran successful ({{ ansible_play_name }})"
headers:
Content-Type: application/json
Authorization: Bearer "{{ semaphore_token }}"
Authorization: "Bearer {{ semaphore_token }}"
status_code: [200, 201]
rescue:
@@ -87,5 +87,5 @@
message: "{{ ansible_date_time.date }} {{ ansible_date_time.time }}: Playbook ran with error ({{ ansible_play_name }})"
headers:
Content-Type: application/json
Authorization: Bearer "{{ error_token }}"
Authorization: "Bearer {{ error_token }}"
status_code: [200, 201]