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"