Merge "Make linting use of find portable"

This commit is contained in:
Zuul 2020-04-21 20:00:15 +00:00 committed by Gerrit Code Review
commit b3358c7559

View File

@ -41,7 +41,7 @@ commands =
flake8 {posargs}
bash -c "find playbooks -type f -regex '.*.ya?ml' ! -regex '.*vars\/.*' -print0 | \
xargs -t -n1 -0 ansible-lint"
bash -c 'find roles -maxdepth 1 -mindepth 1 -type d -printf "%p/\n" | \
bash -c 'find roles -maxdepth 1 -mindepth 1 -type d | \
xargs -t -n1 ansible-lint'
# Ansible Syntax Check
bash -c "find playbooks -type f -regex '.*.ya?ml' ! -regex '.*vars\/.*' -exec \