openqa: use 'shell' not 'command' for a step that needs it

this step uses && and >, needs a shell.
This commit is contained in:
Adam Williamson 2016-01-04 17:10:19 -08:00
parent c1f4d29dd8
commit cc8d3896a7

View file

@ -195,7 +195,7 @@
changed_when: "1 != 1"
- name: Check if the tests changed in previous step
command: "/usr/share/openqa/script/dump_templates --json > /tmp/tmpl-new.json && json_diff /tmp/tmpl-old.json /tmp/tmpl-new.json"
shell: "/usr/share/openqa/script/dump_templates --json > /tmp/tmpl-new.json && json_diff /tmp/tmpl-old.json /tmp/tmpl-new.json"
when: "gittests|changed"
register: testsdiff
changed_when: "testsdiff.rc > 0"