mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
11 lines
157 B
Bash
11 lines
157 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
BASEDIR=${1-"lib/ansible"}
|
||
|
cd "$BASEDIR"
|
||
|
grep -r FieldAttribute . |grep 'default' | grep 'required'
|
||
|
if test $? -eq 0 ; then
|
||
|
exit 1
|
||
|
fi
|
||
|
exit 0
|
||
|
|