Skip to content
Snippets Groups Projects
Commit 3c5a4474 authored by Andreas Krüger's avatar Andreas Krüger Committed by Kubernetes Prow Robot
Browse files

Increase ansible-lint speed (#4632)

parent 01da6525
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ ansible-lint:
stage: unit-tests
# lint every yml/yaml file that looks like it contains Ansible plays
script: |-
grep -Rl '^- hosts: \|^ hosts: \|^- name: ' --include \*.yml --include \*.yaml . | xargs ansible-lint -v
grep -Rl '^- hosts: \|^ hosts: \|^- name: ' --include \*.yml --include \*.yaml . | xargs -P 4 -n 25 ansible-lint -v
except: ['triggers', 'master']
syntax-check:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment