]> Repos - server-iac/commit
Fix 5 bugs found via dry-run provision of a real Linode main
authorAndrew Gundersen <adgundersen@gmail.com>
Fri, 17 Jul 2026 19:54:46 +0000 (19:54 +0000)
committerAndrew Gundersen <adgundersen@gmail.com>
Fri, 17 Jul 2026 19:54:46 +0000 (19:54 +0000)
commit762ec0bb4a826c3f7de86af3bb8f145acc7c1de8
tree1024cb44cdd4ddd8f7613b4124296e48829c4e93
parent4d6d775c1a4ac36a0b7ccdcd9adb97585acacf79
Fix 5 bugs found via dry-run provision of a real Linode

- spamd, not spamassassin, is the actual systemd unit name
- /etc/chasquid/certs ships non-empty by default (README.certs), breaking
  the symlink-to-certs-orig conversion
- /etc/letsencrypt/renewal-hooks/deploy doesn't exist until certbot has
  actually run once - can't assume it from just installing the package
- Ubuntu's default nginx site conflicts with our own default_server
- chasquid task ordering: domains/certs must exist before chasquid.conf
  is deployed (and its restart triggered), or chasquid crash-loops fast
  enough to hit systemd's restart backoff before domains/ gets populated
  a moment later - reproduces the exact bug from the start of this project
ansible/roles/base/tasks/main.yml
ansible/roles/certbot/tasks/main.yml
ansible/roles/chasquid/tasks/main.yml
ansible/roles/nginx/tasks/main.yml