diff --git a/tox.ini b/tox.ini index 662b8e116..818d1c677 100644 --- a/tox.ini +++ b/tox.ini @@ -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 \