- Create a list of user names, using Ansible
vars
- Create a user account for each user name with the Ansible module
users
andwith_items
. - Add each user’s ssh public key to the account with Ansible
authorized_key
- Modify
/etc/sudoers
so the users can usesudo
without entering a password