# Homelab inventory. # # Group layout: # ubuntu - Ubuntu LXC containers and VMs # rocky - Rocky Linux 9 LXC containers # proxmox - the Proxmox VE host # lxc - the subset of ubuntu/rocky hosts that are LXC containers # vms - the subset of ubuntu/rocky hosts that are QEMU VMs # # A host may belong to several groups. Define ansible_host once, under the OS # group; lxc/vms list names only. Entries marked PLACEHOLDER need real values. # # critical_services is read by playbooks/service_check.yml. --- all: vars: ansible_user: root children: ubuntu: hosts: # webserver: # ansible_host: 192.168.55.10 # critical_services: # PLACEHOLDER: verify service names # - nginx docker: ansible_host: 192.168.0.11 critical_services: - docker - containerd # ubuntu-vm1: # PLACEHOLDER: first Ubuntu VM, also list under vms # ansible_host: 192.168.2.XXX # critical_services: [] rocky: hosts: courses-lxc: ansible_host: 192.168.0.31 critical_services: - httpd - mariadb pihole: ansible_host: 192.168.0.2 critical_services: - pihole-FTL bot: ansible_host: 192.168.0.174 critical_services: [myapp] # PLACEHOLDER: add the bot's service name storage: ansible_host: 192.168.0.115 critical_services: [smb] # PLACEHOLDER: e.g. nfs-server, smb proxmox: hosts: pve: ansible_host: 192.168.0.254 # PLACEHOLDER: verify lxc: hosts: # webserver: docker: pihole: bot: storage: vms: hosts: # ubuntu-vm1: # PLACEHOLDER: uncomment together with the ubuntu entry above