From 7524a1639b29b241b92d4772731d175b2ebf2b07 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Jul 20 2022 14:08:58 +0000 Subject: Fix template Previously the result was an invalid JSON. Signed-off-by: Michal Srb --- diff --git a/roles/testing-farm-run-generic-test/tasks/main.yml b/roles/testing-farm-run-generic-test/tasks/main.yml index 3540ddc..bb50157 100644 --- a/roles/testing-farm-run-generic-test/tasks/main.yml +++ b/roles/testing-farm-run-generic-test/tasks/main.yml @@ -23,13 +23,13 @@ } }, "arch": "x86_64", - "variables": [ + "variables": { "REPO_URL": "{{ repo.url }}" - ], + }, {%- if compose -%} "os": { - "compose": "{{ compose }}", - }, + "compose": "{{ compose }}" + } {%- endif -%} }] }