acm-uic/IaC

Longyan Ansible Role Needs Updating

Closed this issue · 0 comments

Longyan has changed a fair bit since #21 , so updating the playbook would help in the case of a full reinstall being needed (or if we get locked out...)

  • the card reader uses the evdev rust driver that me and @SohamG wrote (https://github.com/SohamG/door-driver) rather than reading input in tty via tmux
  • both the discord bot and card reader use systemd user services to autostart
  • both systemd services need restart on crash so we don't get locked out!
  • changed the network manager to NetworkManager for better ethernet stability (prevents lockouts)
  • longyan was reimaged to raspberry pi os, we can probably simplify the role a bit by using the default pi user and automating some raspi-config changes rather than reinventing the wheel

Additionally, some documentation on both the discord bot and the evdev driver would be nice.