---
# Homelab Ansible Inventory
# All hosts are accessible via Tailscale IPs

all:
  vars:
    ansible_python_interpreter: /usr/bin/python3
    docker_compose_version: "2"

  children:
    # Synology NAS devices
    synology:
      vars:
        docker_data_path: /volume1/docker
        ansible_become: false
        docker_socket: /var/run/docker.sock
      hosts:
        atlantis:
          ansible_host: 100.83.230.112
          ansible_user: vish
          ansible_port: 60000
          hostname: atlantis.vish.local
          description: "Primary NAS - Synology DS1823xs+"

        calypso:
          ansible_host: 100.103.48.78
          ansible_user: vish
          ansible_port: 62000
          hostname: calypso.vish.local
          description: "Secondary NAS - Synology DS920+"

        setillo:
          ansible_host: 100.125.0.20
          ansible_user: vish
          ansible_port: 22
          hostname: setillo.vish.local
          description: "Remote NAS - Synology"

    # Physical servers
    physical:
      vars:
        docker_data_path: /opt/docker
        ansible_become: true
      hosts:
        guava:
          ansible_host: 100.75.252.64
          ansible_user: vish
          hostname: guava.vish.local
          description: "TrueNAS Scale Server"
          docker_data_path: /mnt/pool/docker

        concord_nuc:
          ansible_host: 100.67.40.126
          ansible_user: homelab
          hostname: concord-nuc.vish.local
          description: "Intel NUC"

        anubis:
          ansible_host: 100.100.100.100  # Update with actual IP
          ansible_user: vish
          hostname: anubis.vish.local
          description: "Physical server"

    # Virtual machines
    vms:
      vars:
        docker_data_path: /opt/docker
        ansible_become: true
      hosts:
        homelab_vm:
          ansible_host: 100.67.40.126
          ansible_user: homelab
          hostname: homelab-vm.vish.local
          description: "Primary VM"

        chicago_vm:
          ansible_host: 100.100.100.101  # Update with actual IP
          ansible_user: vish
          hostname: chicago-vm.vish.local
          description: "Chicago VPS"

        bulgaria_vm:
          ansible_host: 100.100.100.102  # Update with actual IP
          ansible_user: vish
          hostname: bulgaria-vm.vish.local
          description: "Bulgaria VPS"

        contabo_vm:
          ansible_host: 100.100.100.103  # Update with actual IP
          ansible_user: vish
          hostname: contabo-vm.vish.local
          description: "Contabo VPS"

    # Edge devices
    edge:
      vars:
        docker_data_path: /opt/docker
        ansible_become: true
      hosts:
        rpi5_vish:
          ansible_host: 100.100.100.104  # Update with actual IP
          ansible_user: vish
          hostname: rpi5-vish.vish.local
          description: "Raspberry Pi 5"

    # Proxmox LXC containers
    proxmox_lxc:
      vars:
        docker_data_path: /opt/docker
        ansible_become: true
      hosts:
        tdarr_node:
          ansible_host: 100.100.100.105  # Update with actual IP
          ansible_user: root
          hostname: tdarr-node.vish.local
          description: "Tdarr transcoding node"
