Merge "Fix ansible-lint"

This commit is contained in:
Zuul 2020-09-25 15:00:11 +00:00 committed by Gerrit Code Review
commit b5f4a970a4
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ commands =
# Ansible lint
bash -c "find playbooks -type f -regex '.*.ya?ml' -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 -printf "%p/\n" | \
xargs -t -n1 ansible-lint'
# Ansible Syntax Check
bash -c "find playbooks -type f -regex '.*.ya?ml' -exec \