Correct usage of variables.
This commit is contained in:
@@ -131,7 +131,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:
|
||||
@@ -145,5 +145,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]
|
||||
|
||||
Reference in New Issue
Block a user