feat(inventory): add opencode group with 8 target hosts and host_vars

This commit is contained in:
Twentyninehairs_bot 2026-05-04 23:04:46 -07:00
parent 991be3dd90
commit 9c326c827e
Signed by: Twentyninehairs_bot
GPG Key ID: CC558AA42F05E387
11 changed files with 119 additions and 2 deletions

View File

9
host_vars/a10.yml Normal file
View File

@ -0,0 +1,9 @@
---
# a10 — Former CrewAI testing machine (currently idle)
ansible_host: 192.168.194.20
has_gpu: false
os_derivative: mint
os_version: "22"
cpu_arch: x86_64
ram_gb: 12
cpu_model: Intel Celeron N3350

6
host_vars/crew2.yml Normal file
View File

@ -0,0 +1,6 @@
---
# crew2 — Pilot host for opencode deployment
ansible_host: crew2.dmz.home.hibbhome.com
has_gpu: false
os_derivative: ubuntu
# TODO: Verify connection info, GPU status, and OS details

View File

@ -0,0 +1,6 @@
---
# crewsupport — Crew support server
ansible_host: crewsupport.dmz.home.hibbhome.com
has_gpu: false
os_derivative: ubuntu
# TODO: Verify connection info, GPU status, and OS details

6
host_vars/erpnext.yml Normal file
View File

@ -0,0 +1,6 @@
---
# erpnext — ERPNext server
ansible_host: erpnext.dmz.home.hibbhome.com
has_gpu: false
os_derivative: ubuntu
# TODO: Verify connection info, GPU status, and OS details

View File

@ -0,0 +1,10 @@
---
# kenny-GE76-Raider-11UE — Laptop (MSI GE76 Raider)
ansible_host: kenny-GE76-Raider-11UE.dmz.home.hibbhome.com
has_gpu: true
gpu_type: NVIDIA (likely RTX series — GE76 Raider)
os_derivative: ubuntu
# TODO: Verify connection info (likely DHCP)
# TODO: Verify GPU model
# NOTE: Laptop — may have sleep/hibernate concerns for systemd user services
# NOTE: Ensure loginctl enable-linger is active for user services

15
host_vars/llm01.yml Normal file
View File

@ -0,0 +1,15 @@
---
# llm01 — LLM Inference Server (Ollama host)
ansible_host: 192.168.194.40
has_gpu: true
gpu_type:
- NVIDIA GeForce RTX 4060 Ti 16GB
- NVIDIA GeForce RTX 3060 Ti 8GB
os_derivative: ubuntu
os_version: "24.04"
cpu_arch: x86_64
ram_gb: 125
# Ollama runs locally on this host
opencode_ollama_endpoint: http://localhost:11434/v1
# NOTE: User plans OS reload before deployment — will need full bootstrap
# NOTE: Ensure Ollama is running before deploying opencode

9
host_vars/noc.yml Normal file
View File

@ -0,0 +1,9 @@
---
# noc — Network Operations Center Display
ansible_host: 192.168.198.90
has_gpu: false
os_derivative: debian
os_version: "12"
cpu_arch: x86_64
ram_gb: 16
cpu_model: AMD E1-2500 APU

View File

@ -0,0 +1,10 @@
---
# poweredget150 — Nextcloud + AI Stack (Dell PowerEdge T150)
ansible_host: 192.168.198.48
has_gpu: true
gpu_type: NVIDIA (model unknown — nvidia-persistenced running)
os_derivative: ubuntu
os_version: "22.04"
cpu_arch: x86_64
ram_gb: 16
# Has Docker for containerized services

View File

@ -1,3 +1,23 @@
---
# OpenCode Propagation: Group-wide Defaults
# TODO: Implement in Task 2
# Applied to all hosts in the opencode group
# Ansible connection
ansible_user: kenny
ansible_python_interpreter: /usr/bin/python3
# OpenCode deployment paths
opencode_install_method: local
opencode_config_dir: ~/.config/opencode
opencode_data_dir: ~/.opencode
opencode_service_scope: user
# Service account for agent maintenance (created by bootstrap playbook)
opencode_service_account: agent-svc
# Ollama endpoint (default, overridden per-host if needed)
opencode_ollama_endpoint: http://llm01:11434/v1
# Gitea source
opencode_gitea_host: git.hibbhome.com
opencode_gitea_org: Hibbhome

View File

@ -1,3 +1,29 @@
---
# OpenCode Propagation: Main Inventory
# TODO: Implement in Task 2
# 8 target hosts for opencode deployment
# Managed via: Hibbhome/opencode-ansible
all:
children:
opencode:
hosts:
crew2:
ansible_host: crew2.dmz.home.hibbhome.com
# TODO: Verify connection info
crewsupport:
ansible_host: crewsupport.dmz.home.hibbhome.com
# TODO: Verify connection info
llm01:
ansible_host: 192.168.194.40
erpnext:
ansible_host: erpnext.dmz.home.hibbhome.com
# TODO: Verify connection info
poweredget150:
ansible_host: 192.168.198.48
a10:
ansible_host: 192.168.194.20
noc:
ansible_host: 192.168.198.90
kenny-GE76-Raider-11UE:
ansible_host: kenny-GE76-Raider-11UE.dmz.home.hibbhome.com
# TODO: Verify connection info, likely DHCP