user
Ansible role that sets up my user on a dedicated machine.
yannick
README
User
User creation with SSH keys, dotfiles, and shell configuration.
Key Parameters
| Variable | Default | Description |
|---|---|---|
my_user_username |
yannick |
Username to create |
my_user_groups |
[docker, sudo] |
Additional groups for the user |
my_user_shell |
/usr/bin/zsh |
Login shell |
user_ssh_keys |
[] |
Public keys to add to authorized_keys |
user_ssh_github_user |
yschulz |
GitHub username for SSH key fallback import |
user_dotfiles_repo |
(vault) | Private dotfiles git repository URL |
user_dotfiles_access_token |
(vault) | Token for cloning private dotfiles repo |
user_passwordless_sudo |
true |
Add user to passwordless sudo |
Workflow
- Install zsh
- Create user with configured groups and shell
- Generate SSH keypair (if not present)
- Add authorized SSH keys (from list or GitHub)
- Clone and install dotfiles repository
- Set ACLs and home directory permissions
Repository Statistics
0
Stars
0
Forks
1
Watchers
0
Issues
Default Branch:main
Created:August 23, 2025
Last Updated:February 23, 2026
Repository Size:0.04 KB