From 1f1ef0aba835cac827f4a561c9e5cc72310e3e19 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 26 Sep 2017 14:17:48 -0700 Subject: [PATCH] Check all playbooks simultaneously Change-Id: I04aa1e843cbd08a97abeb03dc55add7219358ab3 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 58e7e2fd..8f2631fb 100644 --- a/tox.ini +++ b/tox.ini @@ -33,7 +33,7 @@ commands = bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -not -path './legacy/*' -print0 | xargs -t -n1 -0 \ ansible-lint -x ANSIBLE0012" # Ansible Syntax Check - bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -print0 | xargs -t -P $(nproc) -n1 -0 \ + bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -print0 | xargs -t -0 \ ansible-playbook --syntax-check -i {toxinidir}/tests/inventory > /dev/null" [testenv:venv]