Skip to main content
Glama
ansible_hosts.example.yml•5.12 kB
--- # Sample Ansible Inventory for Homelab MCP Servers # Copy this file and customize for your infrastructure all: children: # ========================================================================== # Ollama AI Servers # ========================================================================== ollama_servers: vars: ollama_host: 0.0.0.0 ollama_port: 11434 ollama_origins: "*" ollama_keep_alive: 24h children: ollama_linux: children: ollama_ubuntu_servers: hosts: server1.example.local: ansible_host: 192.168.1.100 server2.example.local: ansible_host: 192.168.1.101 ollama_rocky: hosts: server3.example.local: ansible_host: 192.168.1.102 ollama_mac: hosts: mac-mini.example.local: ansible_host: 192.168.1.103 ollama_windows: hosts: windows-pc.example.local: ansible_host: 192.168.1.104 # ========================================================================== # LiteLLM Proxy Servers # ========================================================================== litellm_servers: hosts: server1.example.local: ansible_host: 192.168.1.100 # ========================================================================== # Docker/Podman Container Hosts # ========================================================================== docker_hosts: hosts: server1.example.local: ansible_host: 192.168.1.100 container_runtime: docker docker_api_port: 2375 server2.example.local: ansible_host: 192.168.1.101 container_runtime: docker docker_api_port: 2375 server3.example.local: ansible_host: 192.168.1.105 container_runtime: docker docker_api_port: 2375 podman_hosts: hosts: nas-server.example.local: ansible_host: 192.168.1.102 container_runtime: podman podman_api_port: 8080 # ========================================================================== # Pi-hole DNS Servers # ========================================================================== pihole_servers: children: pihole_docker: hosts: server1.example.local: ansible_host: 192.168.1.100 pihole_port: 8053 server2.example.local: ansible_host: 192.168.1.101 pihole_port: 8053 pihole_native: hosts: pihole-pi.example.local: ansible_host: 192.168.1.253 pihole_port: 80 # ========================================================================== # Unifi Network Controller # ========================================================================== unifi_controller: hosts: unifi-controller.example.local: ansible_host: 192.168.1.1 # ========================================================================== # UPS Monitoring (Network UPS Tools) # ========================================================================== nut_servers: hosts: dell-server.example.local: ansible_host: 192.168.1.100 nut_port: 3493 nut_username: monuser # Optional - only if NUT requires authentication nut_password: "" # Optional - set in .env as NUT_PASSWORD for security ups_devices: - name: tripplite description: "TrippLite SMART1500LCDXL" cyber-server.example.local: ansible_host: 192.168.1.101 nut_port: 3493 ups_devices: - name: ups description: "APC Back-UPS" # Example: Server with multiple UPS devices # datacenter-server.example.local: # ansible_host: 192.168.1.102 # nut_port: 3493 # ups_devices: # - name: ups1 # description: "Primary UPS - TrippLite" # - name: ups2 # description: "Secondary UPS - APC" # ========================================================================== # OS-Based Groups # ========================================================================== ubuntu_servers: hosts: server1.example.local: server2.example.local: rocky_linux: hosts: server3.example.local: macos: hosts: mac-mini.example.local: windows: hosts: windows-pc.example.local: # ========================================================================== # Location-Based Groups (Optional) # ========================================================================== datacenter: hosts: server1.example.local: office: hosts: server2.example.local: mac-mini.example.local:

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bjeans/homelab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server