# ================================
# Vish's Homelab Ansible Inventory
# Tailnet-connected via Tailscale
# Updated: February 22, 2026
# matrix-ubuntu added: 192.168.0.154 (static), user test
# ================================

# --- Core Management Node ---
[homelab]
homelab ansible_host=100.67.40.126 ansible_user=homelab

# --- Synology NAS Cluster ---
[synology]
atlantis ansible_host=100.83.230.112 ansible_port=60000 ansible_user=vish
calypso ansible_host=100.103.48.78 ansible_port=62000 ansible_user=Vish
setillo ansible_host=100.125.0.20 ansible_user=vish

# --- Raspberry Pi Nodes ---
[rpi]
pi-5 ansible_host=100.77.151.40 ansible_user=vish
# pi-5-kevin ansible_host=100.123.246.75 ansible_user=vish  # offline

# --- Hypervisors / Storage ---
[hypervisors]
pve ansible_host=100.87.12.28 ansible_user=root
truenas-scale ansible_host=100.75.252.64 ansible_user=vish
homeassistant ansible_host=100.112.186.90 ansible_user=hassio

# --- Remote Systems ---
[remote]
vish-concord-nuc ansible_host=100.72.55.21 ansible_user=vish
seattle ansible_host=100.82.197.124 ansible_user=root

# --- Local VMs ---
[local_vms]
matrix-ubuntu ansible_host=100.85.21.51 ansible_user=test  # LAN: 192.168.0.154

# --- Debian / Ubuntu Clients using Calypso's APT Cache ---
[debian_clients]
homelab
pi-5
# pi-5-kevin  # offline
vish-concord-nuc
pve
homeassistant
truenas-scale

# --- Legacy Group (for backward compatibility) ---
[homelab_linux:children]
homelab
synology
rpi
hypervisors
remote

# --- Portainer Edge Agent Hosts ---
[portainer_edge_agents]
homelab ansible_host=100.67.40.126 ansible_user=homelab
vish-concord-nuc ansible_host=100.72.55.21 ansible_user=vish
pi-5 ansible_host=100.77.151.40 ansible_user=vish
calypso ansible_host=100.103.48.78 ansible_port=62000 ansible_user=Vish

# --- Active Group (used by most playbooks) ---
[active:children]
homelab
synology
rpi
hypervisors
remote
local_vms

# --- Global Variables ---
[all:vars]
ansible_ssh_common_args='-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
ansible_python_interpreter=/usr/bin/python3
