From 3c5a4474ac08729679d53f6bd157bb42b4d39e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kr=C3=BCger?= Date: Wed, 24 Apr 2019 14:28:00 +0200 Subject: [PATCH] Increase ansible-lint speed (#4632) --- .gitlab-ci/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: