only run playbooks
This commit is contained in:
parent
7db11c6506
commit
3e69b5bc6a
|
@ -61,5 +61,8 @@ jobs:
|
|||
- name: Run changed playbooks
|
||||
run: |
|
||||
for file in ${{ steps.files.outputs.all_changed_files }}; do
|
||||
if [[ "$file" == *"-playbook.yaml" ]];
|
||||
then
|
||||
ansible-playbook --inventory ./inventory "$file"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue