chore: updated workflow for docker role
All checks were successful
Deploy / Prepare Build (push) Successful in 43s

This commit is contained in:
2025-09-22 19:50:37 +10:00
parent 9ed2dabefd
commit db1b58da4e
5 changed files with 61 additions and 50 deletions

View File

@ -26,5 +26,4 @@ jobs:
echo "StrictHostKeyChecking no" >> ~/.ssh/config
echo "${{ secrets.ANSIBLE_VAULT_PASSWORD }}" > ~/.vault_password.txt
echo "nameserver 10.10.10.1" > /etc/resolv.conf
ansible-galaxy install oefenweb.fail2ban
./.gitea/workflows/deploy.sh "${{ github.event.before }}" "${{ github.sha }}"

View File

@ -5,6 +5,7 @@ if [ ! -z "$changed_tasks" ]; then
tag=$(echo "$task" | awk -F/ '{print $2}')
if [[ "$tag" != "deploy-homelab.yml" && "$tag" != "main.yml" && "$tag" != "all.yml" && "$tag" != "all.example.yml" && "$tag" != "ISSUE_TEMPLATE" && "$tag" != "workflows" ]] ; then
tag=${tag%.*}_install
ansible-galaxy install -r requirements.yml
ansible-playbook main.yml --tags "$tag" --vault-password-file ~/.vault_password.txt
fi
done