openqa/server: allow template dump to fail

It will on first deployment. That's fine.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-06-05 16:05:18 -07:00
parent 9cadcda024
commit c3b87d88d1

View file

@ -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"