9 lines
177 B
Bash
Executable file
9 lines
177 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
flaws=0
|
|
for path in $(find ansible -name "*.json")
|
|
do
|
|
echo "-- ${path}"
|
|
python3 -m json.tool ${path} > /dev/null || ((flaws+=1))
|
|
done
|
|
test ${flaws} -eq 0
|