Refactor sectool usage in workflows to include configuration file and remove redundant sectool.json files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user