homeserver/roles/mgrote_users
Michael Grote d2d6c846a5
All checks were successful
ansible-lint / gitleaks (push) Successful in 3s
ansible-lint / Ansible Lint (push) Successful in 30s
revert parts of "506fa8da8d" (explanation inline) (#217)
Reviewed-on: #217
2024-10-23 22:55:41 +02:00
..
tasks revert parts of "506fa8da8d" (explanation inline) (#217) 2024-10-23 22:55:41 +02:00
README.md fix linter errors (#584) 2023-10-25 22:26:17 +02:00

mgrote.users

Beschreibung

Erstellt und konfiguriert Nutzer.

Basiert auf ryandaniels/ansible-role-create-users.

getestet auf

  • Ubuntu (>=20.04)
  • ProxMox 7*

Variablen + Defaults

  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