mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-14 22:36:09 +08:00
openqa: use 'shell' not 'command' for a step that needs it
this step uses && and >, needs a shell.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user