Refactor sectool usage in workflows to include configuration file and remove redundant sectool.json files

This commit is contained in:
2025-03-22 13:06:35 +01:00
parent 51d6229b03
commit 2657388998
13 changed files with 32 additions and 52 deletions
+1 -1
View File
@@ -39,5 +39,5 @@ jobs:
run: |
cd ansible
for PLAYBOOK in $(echo $CHANGED_FILES | grep -oP 'playbook_\K\w+'); do
sectool exec ansible-playbook -u $ANSIBLE_USER playbook_$PLAYBOOK.yml
sectool -f ../sectool.json exec ansible-playbook -u $ANSIBLE_USER playbook_$PLAYBOOK.yml
done