mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
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>
12 lines
369 B
YAML
12 lines
369 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Run ansible-review on the playbooks and roles
|
|
shell: >
|
|
exitcode=0;
|
|
while read pbrulefile; do
|
|
ansible-review-filtered.sh "$pbrulefile" || exitcode=1;
|
|
done <<<$(find playbooks roles -name "*.yml" -o -name "*.yaml");
|
|
exit "$exitcode"
|
|
args:
|
|
chdir: '{{ zuul.project.src_dir }}'
|