Skip to content

Commit

Permalink
updated ansible-playbook-syntax.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Oct 9, 2024
1 parent e5e2ba0 commit 8bdc03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ansible-playbook-syntax.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ jobs:

- name: Ansible Playbook Syntax Check
run: |
find . -name 'playbook.y*ml' -exec ansible-playbook {} --syntax-check \;
find . -name 'playbook.y*ml' -type f | xargs -I {} sh -c 'ansible-playbook {} --syntax-check || exit 1'

0 comments on commit 8bdc03c

Please sign in to comment.