From c3b87d88d1dbe3a948e1253fc450cf3c19ff68a9 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 5 Jun 2020 16:05:18 -0700 Subject: [PATCH] openqa/server: allow template dump to fail It will on first deployment. That's fine. Signed-off-by: Adam Williamson --- roles/openqa/server/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openqa/server/tasks/main.yml b/roles/openqa/server/tasks/main.yml index 291d5c89f7..ad2779bc6c 100644 --- a/roles/openqa/server/tasks/main.yml +++ b/roles/openqa/server/tasks/main.yml @@ -303,7 +303,7 @@ register: templatesfif - name: Dump existing config for checking changes - shell: "/usr/share/openqa/script/dump_templates --json > /tmp/tmpl-old.json" + shell: "/usr/share/openqa/script/dump_templates --json > /tmp/tmpl-old.json || :" when: "(gittests is defined) and (gittests is changed)" changed_when: "1 != 1"