Initial Ansible automation for hobbs.farm infrastructure

Complete IaC covering:
- 14 roles: common, docker, traefik, vaultwarden, monitoring, media, matrix,
  home_assistant, frigate, adguard, gitea, semaphore, openclaw, security, backup
- Inventory for all hosts (Peggy, Bart, Yoda, NAS, Firewalla)
- Stack playbooks: core-infrastructure, monitoring, media, communication,
  automation, smarthome, security-hardening
- Maintenance playbooks: update-containers, backup, health-check
- Production Docker Compose templates with Traefik labels
- Security hardening (sysctl, auditd, UFW, fail2ban)
- Automated backups with retention policy
This commit is contained in:
2026-02-01 23:14:46 -06:00
parent 02beae23a0
commit b9be45dc71
74 changed files with 2110 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
---
ansible_host: 192.168.86.181
hostname: bart
hardware_description: "Intel i5-4570T, 16GB RAM"
os: "Ubuntu"
# Frigate-specific
frigate_config_dir: /opt/frigate/config
frigate_media_dir: /media/frigate
coral_device: /dev/bus/usb
backup_sources:
- /opt/frigate/config
backup_destination: /mnt/nas/backups/bart
+6
View File
@@ -0,0 +1,6 @@
---
ansible_host: 192.168.86.1
hostname: firewalla
device_type: firewall
ansible_connection: local
note: "Firewalla managed via its own interface. Inventory entry for documentation and monitoring targets."
+37
View File
@@ -0,0 +1,37 @@
---
ansible_host: 192.168.86.45
hostname: peggy
hardware_description: "Intel i7-6700T, 8GB RAM"
os: "Ubuntu 24.04"
docker_compose_stacks:
- core-infrastructure
- infrastructure
- monitoring
- media
- automation
- communication
- smarthome
# NAS mounts for Peggy
nfs_mounts:
- src: "192.168.86.30:/volume1/media"
dest: /mnt/nas/media
fstype: nfs
opts: "rw,hard,intr,rsize=8192,wsize=8192"
- src: "192.168.86.30:/volume1/backups"
dest: /mnt/nas/backups
fstype: nfs
opts: "rw,hard,intr"
# Backup paths
backup_sources:
- /data/docker-compose
- /data/traefik
- /data/vaultwarden
- /data/grafana
- /data/prometheus
- /data/homeassistant
- /data/gitea
backup_destination: /mnt/nas/backups/peggy