ansible/tests/02-ansible-lint.sh

8 lines
171 B
Bash

#!/bin/sh
set -eu
cd "$(dirname "$0")/../roles" || exit 1
find . -mindepth 1 -maxdepth 1 -type d '!' -name ".*" -print0 | \
xargs -0 -t -n 1 ansible-lint -x 701 --