fix: Production workflow optimization
All checks were successful
Deploy to Staging / Build Images (push) Successful in 21s
Deploy to Staging / Deploy to Staging (push) Successful in 27s
Deploy to Staging / Verify Staging (push) Successful in 6s
Deploy to Staging / Notify Staging Ready (push) Successful in 6s
Deploy to Staging / Notify Staging Failure (push) Has been skipped

This commit is contained in:
Eric Gullickson
2025-12-30 09:44:37 -06:00
parent 20696ccbf0
commit 9c53af70dc
6 changed files with 25 additions and 4 deletions

44
ansible/inventory.yml Normal file
View File

@@ -0,0 +1,44 @@
---
# MotoVaultPro Ansible Inventory Example
# Copy this file to inventory.yml and fill in your values
#
# Usage:
# cp inventory.yml.example inventory.yml
# # Edit inventory.yml with your server IPs and tokens
# ansible-playbook -i inventory.yml deploy-staging-runner.yml --ask-become-pass
all:
children:
staging:
hosts:
staging.motovaultpro.com:
ansible_host: "172.30.1.37"
# Required: Get from Gitea -> Settings -> Actions -> Runners
gitea_runner_token: "szyvEDd2rRh4BettOTKORD1n2Vh47P1RIH19wLYN"
# Required: Get from Gitea -> Settings -> Applications
# Needs read:packages and write:packages scopes
gitea_registry_token: "0ca4ca2b6e84cf53df778ed7eed30d1e1900dcef"
# Optional overrides
# gitea_username: "egullickson"
# act_runner_version: "0.2.13"
# upgrade_packages: false
production:
hosts:
motovaultpro.com:
ansible_host: "172.30.1.36"
# Required: Get from Gitea -> Settings -> Actions -> Runners
gitea_runner_token: "OTwUZsoEUBjomGUVrOU4NxpYiUf2yQcEfYprt6rU"
# Required: Get from Gitea -> Settings -> Applications
# Needs read:packages and write:packages scopes
gitea_registry_token: "0ca4ca2b6e84cf53df778ed7eed30d1e1900dcef"
# Optional overrides
# gitea_username: "egullickson"
# act_runner_version: "0.2.13"
# upgrade_packages: false