- ansible_become: true as a group_vars connection variable silently took
precedence over every task-level `become: false` in this repo, so
every "unprivileged" task (pipx installs, user script deploys,
legacy .env.local writes) was actually running as root the whole
time. Move become to a play-level keyword in site.yml instead, which
correctly loses to a task's own become: false. Also stop relying on
ansible_env.HOME (which reflected root's home once facts were
gathered under the old broken setup) and use /home/{{ remote_user }}
directly, with explicit owner/group so ownership self-heals.
- meshcore_capture: 99-user.toml.j2 now defines every broker
(including letsmesh-us/eu) fully rather than assuming
config.d/10-letsmesh.toml was auto-installed — that preset only gets
created on some install paths (fresh install) and not others
(migrate), so the old partial-override form silently dropped
brokers on migrated nodes.
- base: install libffi-dev/pkg-config on armv6 (Pi Zero W) — cffi has
no prebuilt wheel for that architecture and fails to compile
without the headers.
- dm-ashwell: migrated off the legacy layout to the current
installer's system-service layout; drop its layout override now
that it matches the group default.
- meshcore-capture-update.sh: fix a YAML folded scalar (>-) collapsing
the shebang and command onto one line, corrupting the script.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
- base: Tailscale's per-codename .nosetup.sh install scripts are gone
(404); switch to the universal tailscale.com/install.sh, and split
install/enable (always) from auth (only when a key is given) so a
node without an authkey still gets Tailscale installed, just not
authenticated.
- meshcore_capture: the current upstream installer (v2.0.0+, what a
fresh install now produces) uses a completely different layout than
dm-baldock/dm-ashwell's older flat ~/.meshcore-packet-capture setup —
dedicated system user, /opt + /etc/meshcore-packet-capture,
config.d/*.toml, meshcore-packet-capture.service. Added
meshcore_capture_layout (system/legacy) so the role targets the right
paths/service name per host without touching the two working legacy
nodes. New 99-user.toml.j2 replicates the old MQTT broker coverage
(letsmesh us/eu, meshrank, ukmesh, meshmapper) in the new config.d
override format.
- dm-edworth: fill in serial_port now that the MeshCore device is
connected; confirmed running and publishing to all 5 brokers.
- README: fix broken list formatting, document the installer's
required manual step and why.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Roles: base (apt, tailscale, motd), meshcore_cli (pipx), meshcore_capture
(agessaman/meshcore-packet-capture + .env.local template), scripts (voltage, bandwidth).
Host vars contain per-device serial ports; group vars hold shared MQTT broker config.
Co-Authored-By: Claude Opus 4.8 <[email protected]>