38 lines
913 B
YAML
38 lines
913 B
YAML
---
|
|
# User configuration defaults
|
|
|
|
# Username to create (required - must be overridden)
|
|
# user_name: "operator"
|
|
|
|
# User shell
|
|
user_shell: /bin/bash
|
|
|
|
# Home directory (defaults to /home/{{ user_name }} if not set)
|
|
# user_home: "/home/operator"
|
|
|
|
# User UID (optional - let system assign if not set)
|
|
# user_uid: 1000
|
|
|
|
# Additional groups for the user (optional)
|
|
# user_groups:
|
|
# - wheel
|
|
# - docker
|
|
|
|
# Append to existing groups instead of replacing
|
|
user_groups_append: true
|
|
|
|
# User password (optional - if not set, password login disabled)
|
|
# user_password: "changeme"
|
|
|
|
# Sudo configuration
|
|
user_sudo_enabled: true
|
|
user_sudo_nopasswd: true
|
|
|
|
# SSH public key (exactly one of these must be defined)
|
|
# user_pubkey: "ssh-ed25519 AAAA..."
|
|
# user_pubkey_file: "/path/to/key.pub"
|
|
# user_pubkey_url: "https://github.com/username.keys"
|
|
|
|
# Replace all existing authorized keys with just this one
|
|
user_pubkey_exclusive: true
|