To run on a VM:
- Create VM (ubuntu/debian)
- Install ssh and ansible.
- Limit ssh connections to specific IP address of dev workstation
- Install fakemail_admin ssh public key in root/.ssh/authorized_keys (note Debian 12 does not accept RSA keys by default)
All config from here is done using ansible from WSL.
- For file permissions to work in WSL, create /etc/wsl.conf and add [automount] options = "metadata"
- Configure ssh to use key-based authentication only (no passwords) ansible-playbook -h