From c6dc80b1eea706c995f07d865720f714d62da9d4 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sun, 16 Feb 2025 00:32:02 +0000 Subject: [PATCH] fix: speed-up check playbooks CI --- .github/workflows/infra.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/infra.yaml b/.github/workflows/infra.yaml index f922e8a..49566c2 100644 --- a/.github/workflows/infra.yaml +++ b/.github/workflows/infra.yaml @@ -33,9 +33,7 @@ jobs: - name: Check playbooks run: | - for file in $(find . -wholename "*/infra/*playbook.yaml" -type f); do - ansible-playbook --inventory ./inventory --syntax-check "$file" - done + ansible-playbook --inventory ./inventory --syntax-check $(find . -wholename "*/infra/*playbook.yaml" -type f) - name: Get changed playbooks id: files