From 9658c05248c625123d591f23850457d2f92423de Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Tue, 19 Jul 2022 11:22:28 +0200 Subject: [PATCH] Correct usage of variables. --- hetzner.yaml | 4 ++-- nas.yaml | 4 ++-- odroid.yaml | 4 ++-- semaphore.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hetzner.yaml b/hetzner.yaml index 9ab306a..6b68e2b 100644 --- a/hetzner.yaml +++ b/hetzner.yaml @@ -76,7 +76,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: @@ -90,5 +90,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] diff --git a/nas.yaml b/nas.yaml index d090e74..c2aae95 100644 --- a/nas.yaml +++ b/nas.yaml @@ -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] diff --git a/odroid.yaml b/odroid.yaml index e124082..eb8a82a 100644 --- a/odroid.yaml +++ b/odroid.yaml @@ -275,7 +275,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: @@ -289,5 +289,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] diff --git a/semaphore.yaml b/semaphore.yaml index b6e5fbd..ec6c320 100644 --- a/semaphore.yaml +++ b/semaphore.yaml @@ -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]