Check all playbooks simultaneously
Change-Id: I04aa1e843cbd08a97abeb03dc55add7219358ab3
This commit is contained in:
parent
e4412c8703
commit
1f1ef0aba8
2
tox.ini
2
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 \
|
bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -not -path './legacy/*' -print0 | xargs -t -n1 -0 \
|
||||||
ansible-lint -x ANSIBLE0012"
|
ansible-lint -x ANSIBLE0012"
|
||||||
# Ansible Syntax Check
|
# 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"
|
ansible-playbook --syntax-check -i {toxinidir}/tests/inventory > /dev/null"
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
|
Loading…
Reference in New Issue
Block a user