personal_infra/ansible
counterweight 82fca48b08
lnbits, memos, mempool: use the caddy_site role
lnbits is the header_up shape; memos and mempool are the Tailscale MagicDNS
shape. 108 lines removed, 25 added.

mempool was the one playbook already reloading Caddy correctly
(systemd: state: reloaded rather than command: systemctl reload caddy), so
its end marker differed - the role's handler does the same thing.

Verified:
  - lnbits: full --check, site task ok, byte-identical to the live file
  - memos, mempool: --check --diff via --limit edge shows exactly one added
    line each, the standardised MagicDNS comment. Both playbooks fail earlier
    in check mode on their VM play ("Extract memos binary", the same
    download-does-not-happen-in-check-mode artifact as forgejo), but the edits
    are confined to the hosts: edge play - memos at line 169+, play 2 starts
    at 159; mempool at 617+, play 2 starts at 606.

The added comment means the next real run of memos/mempool rewrites one
comment line. Those two host files were already stale against their
playbooks before this change.

All 14 site files on all 3 hosts still byte-identical.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-11 23:29:06 +02:00
..
group_vars/all uptime-kuma: add uptime_kuma_enabled flag and make monitoring blocks inert 2026-09-11 22:43:55 +02:00
host_vars/nodito vars 2026-09-11 22:17:13 +02:00
infra uptime-kuma: deprecation banners on the monitoring-only plays 2026-09-11 22:43:55 +02:00
roles/caddy_site caddy: add the caddy_site role 2026-09-11 23:10:43 +02:00
services lnbits, memos, mempool: use the caddy_site role 2026-09-11 23:29:06 +02:00
ansible.cfg now using password 2026-09-11 17:59:41 +02:00
infra_secrets.yml uptime-kuma: remove credentials from the vaults 2026-09-11 22:43:15 +02:00
infra_secrets.yml.example uptime-kuma: remove credentials from the vaults 2026-09-11 22:43:15 +02:00
infra_vars.yml uptime-kuma: add uptime_kuma_enabled flag and make monitoring blocks inert 2026-09-11 22:43:55 +02:00
inventory.ini caddy: add a [caddy] role group and target it 2026-09-11 23:03:25 +02:00
requirements.yml uptime-kuma: annotate config and drop the unused collection 2026-09-11 22:43:56 +02:00
services_config.yml uptime-kuma: annotate config and drop the unused collection 2026-09-11 22:43:56 +02:00