homeserver/roles/mgrote_users
Michael Grote bc6f8fdc9e
All checks were successful
ansible-lint / gitleaks (push) Successful in 5s
ansible-lint / Ansible Lint (push) Successful in 1m0s
add no_log as global variable (#233)
Reviewed-on: #233
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2024-11-10 15:56:59 +01:00
..
tasks add no_log as global variable (#233) 2024-11-10 15:56:59 +01:00
README.md

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