fix: speed-up check playbooks CI
This commit is contained in:
parent
93ee384dfa
commit
c6dc80b1ee
4
.github/workflows/infra.yaml
vendored
4
.github/workflows/infra.yaml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user