diff --git a/.gitlab-ci/lint.yml b/.gitlab-ci/lint.yml index 6bb864ade..7d02149e8 100644 --- a/.gitlab-ci/lint.yml +++ b/.gitlab-ci/lint.yml @@ -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: