diff --git a/lib/worker.sh b/lib/worker.sh index 6310891b..1f2a9bd2 100755 --- a/lib/worker.sh +++ b/lib/worker.sh @@ -604,7 +604,7 @@ function LintAnsibleFiles() { ################################# # Get list of all files to lint # ################################# - mapfile -t LIST_FILES < <(ls "$ANSIBLE_DIRECTORY/*.yml" 2>&1) + mapfile -t LIST_FILES < <(ls "$ANSIBLE_DIRECTORY"/*.{yaml,yml} 2>&1) ############################################################### # Set the list to empty if only MD and TXT files were changed #