ansible/ci/ansible-review-diff.yaml
Nils Philippsen 97be9cdc8d Zuul: use repo-local job playbooks again
Use our own namespace (fi-ansible) to not clash with tenant-wide defined
Zuul jobs e.g. from zuul-fedora-jobs.

Fixes: fedora-infrastructure#8932

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-05-29 10:28:49 +00:00

8 lines
260 B
YAML

- hosts: all
tasks:
- name: Run ansible-review on the changes in the PR
shell: >
git diff origin/{{ zuul.branch|quote }}...{{ zuul.branch|quote }}
| ansible-review-filtered.sh
args:
chdir: '{{ zuul.project.src_dir }}'