Refactor file path in actions-validate.yml and add output for changed files

This commit is contained in:
2024-09-29 18:35:30 +02:00
parent 095c73b97e
commit 87fe65a8a0
2 changed files with 5 additions and 0 deletions
@@ -32,6 +32,7 @@ jobs:
VAULT_MASTER_PASSWORD: ${{ secrets.VAULT_MASTER_PASSWORD }}
ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
CHANGED_FILES: ${{ steps.get_changed_files.outputs.CHANGED_FILES }}
run: |
cd ansible
for PLAYBOOK in $(echo $CHANGED_FILES | grep -oP 'playbook_\K\w+'); do