27 lines
690 B
YAML
27 lines
690 B
YAML
|
|
---
|
||
|
|
# Ansible inventory for RunPod deployment
|
||
|
|
#
|
||
|
|
# This inventory defines localhost as the target for RunPod instances.
|
||
|
|
# All tasks run locally on the RunPod GPU server.
|
||
|
|
|
||
|
|
all:
|
||
|
|
hosts:
|
||
|
|
localhost:
|
||
|
|
ansible_connection: local
|
||
|
|
ansible_python_interpreter: /usr/bin/python3
|
||
|
|
|
||
|
|
vars:
|
||
|
|
# Workspace configuration
|
||
|
|
workspace_dir: /workspace
|
||
|
|
ai_dir: /workspace/ai
|
||
|
|
|
||
|
|
# Environment variables (loaded from .env if present)
|
||
|
|
hf_token: "{{ lookup('env', 'HF_TOKEN') }}"
|
||
|
|
tailscale_key: "{{ lookup('env', 'TAILSCALE_AUTH_KEY') | default('') }}"
|
||
|
|
|
||
|
|
# GPU configuration
|
||
|
|
gpu_memory_utilization: 0.85
|
||
|
|
|
||
|
|
# Model cache
|
||
|
|
huggingface_cache: /workspace/huggingface_cache
|