Files
motovaultpro/scripts/ci/ansible/inventory.yml.example
Eric Gullickson eaab8c061a
Some checks failed
Deploy to Staging / Build Images (push) Has been cancelled
Deploy to Staging / Deploy to Staging (push) Has been cancelled
Deploy to Staging / Verify Staging (push) Has been cancelled
Deploy to Staging / Notify Staging Ready (push) Has been cancelled
Deploy to Staging / Notify Staging Failure (push) Has been cancelled
feat: Update to Gitea CI/CD
2025-12-29 21:09:32 -06:00

49 lines
1.6 KiB
Plaintext

---
# 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: "YOUR_STAGING_SERVER_IP"
ansible_user: "root" # or your SSH user
ansible_ssh_private_key_file: "~/.ssh/id_rsa"
# Required: Get from Gitea -> Settings -> Actions -> Runners
gitea_runner_token: "YOUR_RUNNER_REGISTRATION_TOKEN"
# Required: Get from Gitea -> Settings -> Applications
# Needs read:packages and write:packages scopes
gitea_registry_token: "YOUR_REGISTRY_ACCESS_TOKEN"
# Optional overrides
# gitea_username: "egullickson"
# act_runner_version: "0.2.13"
# upgrade_packages: false
production:
hosts:
motovaultpro.com:
ansible_host: "YOUR_PRODUCTION_SERVER_IP"
ansible_user: "root" # or your SSH user
ansible_ssh_private_key_file: "~/.ssh/id_rsa"
# Required: Get from Gitea -> Settings -> Actions -> Runners
gitea_runner_token: "YOUR_RUNNER_REGISTRATION_TOKEN"
# Required: Get from Gitea -> Settings -> Applications
# Needs read:packages and write:packages scopes
gitea_registry_token: "YOUR_REGISTRY_ACCESS_TOKEN"
# Optional overrides
# gitea_username: "egullickson"
# act_runner_version: "0.2.13"
# upgrade_packages: false