Ansible-Crumbforest

Ansible-Steuerung der Crumbforest-Infrastruktur. Control Node: lokaler M4 (OSX).
Kein Agent auf den Zielen — nur SSH (User branko, Key) + Python3 (Debian 12).

Hosts

Name IPv4 Rolle
backbone 87.106.12.97 crumbforest.io · nginx · certbot · fail2ban · checkmk · borgmatic
nullfeld 194.164.194.191 crumbforest.org/.de/.com · gitea · qdrant · nginx · certbot

Erste Schritte (read-only, verändert nichts)

# 1. Leben die Verbindungen?
ansible all -m ping

# 2. Facts ansehen — Interfaces, MACs, Disks, RAM (= was inventar.sh sammelte)
ansible backbone -m setup

# 3. Health-Check-Playbook (Pendant zu backbone-doktor.sh)
ansible-playbook playbooks/doktor.yml

Aufbau

ansible.cfg        # inventory-Pfad, Python-Interpreter, ssh-pipelining
inventory.ini      # die 2 Hosts + Rollen-Gruppen (web, git_qdrant)
playbooks/
  doktor.yml       # read-only Health-Check

Roadmap

  • [x] Control Node + Inventory + Ping
  • [x] doktor.yml (read-only Facts)
  • [ ] Facts → NetBox (netbox.netbox Collection) — der eigentliche Payoff
  • [ ] Konfig-Management (nginx, ufw, certbot) als idempotente Rollen