diff --git a/host_vars/.gitkeep b/host_vars/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/host_vars/a10.yml b/host_vars/a10.yml new file mode 100644 index 0000000..12bbf6c --- /dev/null +++ b/host_vars/a10.yml @@ -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 diff --git a/host_vars/crew2.yml b/host_vars/crew2.yml new file mode 100644 index 0000000..9924bac --- /dev/null +++ b/host_vars/crew2.yml @@ -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 diff --git a/host_vars/crewsupport.yml b/host_vars/crewsupport.yml new file mode 100644 index 0000000..2a5ebb7 --- /dev/null +++ b/host_vars/crewsupport.yml @@ -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 diff --git a/host_vars/erpnext.yml b/host_vars/erpnext.yml new file mode 100644 index 0000000..c9b6d5f --- /dev/null +++ b/host_vars/erpnext.yml @@ -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 diff --git a/host_vars/kenny-GE76-Raider-11UE.yml b/host_vars/kenny-GE76-Raider-11UE.yml new file mode 100644 index 0000000..c722449 --- /dev/null +++ b/host_vars/kenny-GE76-Raider-11UE.yml @@ -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 diff --git a/host_vars/llm01.yml b/host_vars/llm01.yml new file mode 100644 index 0000000..d4dcbe3 --- /dev/null +++ b/host_vars/llm01.yml @@ -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 diff --git a/host_vars/noc.yml b/host_vars/noc.yml new file mode 100644 index 0000000..d06944a --- /dev/null +++ b/host_vars/noc.yml @@ -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 diff --git a/host_vars/poweredget150.yml b/host_vars/poweredget150.yml new file mode 100644 index 0000000..9666b0c --- /dev/null +++ b/host_vars/poweredget150.yml @@ -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 diff --git a/inventory/group_vars/opencode.yml b/inventory/group_vars/opencode.yml index 76af60d..3d2febc 100644 --- a/inventory/group_vars/opencode.yml +++ b/inventory/group_vars/opencode.yml @@ -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 diff --git a/inventory/opencode.yml b/inventory/opencode.yml index ecd909a..5923d0a 100644 --- a/inventory/opencode.yml +++ b/inventory/opencode.yml @@ -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