homeserver/roles/mgrote.users/README.md
mg 3202d61807 Ersatz: create-users (#272)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#272
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2021-12-28 11:25:29 +01:00

27 lines
771 B
Markdown

## mgrote.users
### Beschreibung
Erstellt und konfiguriert Nutzer.
Basiert auf [ryandaniels/ansible-role-create-users](https://github.com/ryandaniels/ansible-role-create-users).
### getestet auf
- [x] Ubuntu (>=20.04)
- [x] ProxMox 7*
### Variablen + Defaults
```yaml
users:
- username: <Name>
uid: <UID> # optional
password: <encrypted-Pass> # mkpasswd --method=SHA-512 <passwort>
shell: <Shell> # optional: default: /bin/bash
update_password: <always|on_create> # optional
groups: <group1, group2, ...> # optional
createhome: <yes|no> # optional: default=yes
state: <absent|present> # optional: default=present
public_ssh_key: <SSH-KEY> # optional
allow_sudo: true
allow_passwordless_sudo: true
```