From 698aa76a0f64a2674a7afa4ad2a09daa351eb9af Mon Sep 17 00:00:00 2001 From: Sebastian Kunze Date: Sat, 18 Jul 2020 16:36:05 +0200 Subject: [PATCH] Ansible: fix globbing issue and allow .yaml too --- lib/worker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #