Role to manage local Linux users including SSH keys and TOTP
See CHANGELOG.md.
See defaults/main.yml for possible variables.
Generate a new password with the command below.
$ openssl passwd -6
Password:
Verifying - Password:
$6$g.9KhoXXg4ewIcwH$mvyGFgpNeYt4QjgFJw7LSZfEfWxSFoKfMtHDmgXbQkKPs.t2L0KUGJG15cwnjtwNR.1CegkL7cVWRwcb9xG/E.Create a python virtual env, install the requirements
python3 -m venv .venv
. .venv/bin/activate
pip3 install -r files/requirements.txtRun the command files/totp.py to create a TOTP token,
copy it to a secure place.