- 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
Category: Minimum Guides
The minimum guides take a basic concept and apply just enough scripting, code and configuration to get the job done in predictable, repeatable way to create a foundation of knowledge.