BBB-via-ansible/CHECKLIST_REBUILD.md
2026-02-08 18:21:55 -05:00

1.5 KiB
Raw Blame History

Checklist rebuild — VPS BBB (1 page)

Pré-vol (avant Ansible)

  • DNS : A de bbb.chezlepro.ca pointe vers lIPv4 du VPS
  • (Optionnel) DNS : AAAA si IPv6 utilisée
  • Accès console / 2 sessions SSH ouvertes (anti-lockout)
  • Clé SSH du user ansible installée
  • Sudo fonctionnel (au moins une fois via --ask-become-pass)

Déploiement

  • make check
  • 1ère passe si nécessaire : ansible-playbook -i inventory.ini site.yml --become --ask-become-pass
  • Déploiement standard : make run

Contrôles post-déploiement (OS)

  • Hostname : hostnamectl contient bbb.chezlepro.ca
  • Locale : localeLANG=en_US.UTF-8
  • Swap actif : swapon --show

Contrôles post-déploiement (services)

  • systemctl is-active docker
  • systemctl is-active fail2ban
  • systemctl is-active hostfilter-nft

Contrôles post-déploiement (firewall)

  • Syntaxe : sudo nft -c -f /etc/nftables/hostfilter.nft
  • Règles actives : sudo nft list ruleset | sed -n '1,220p'
  • SSH restreint aux CIDR attendus (IPv4), IPv6 fermé si non utilisé
  • Ports ouverts (attendus) :
    • SSH : 22/TCP
    • BBB : 80/TCP, 443/TCP, 1638432768/UDP
    • TURN : 3478/TCP+UDP, 5349/TCP, relais UDP (ex: 5000055000/UDP)

Smoke test (script)

  • sudo ./smoke.sh retourne tout “OK” et naffiche pas derreurs

Prochaine étape

  • Installer BBB + coturn (rôle séparé) et refaire une checklist “WebRTC/BBB”.