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