---
# 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
