feat: manage custom uid
This commit is contained in:
parent
975dd6d8aa
commit
153d2870ee
@ -9,3 +9,4 @@ user_home: "/home/{{ user_name }}"
|
||||
user_shell: "/bin/bash"
|
||||
user_privatekey: []
|
||||
user_autorized_key: []
|
||||
user_uid:
|
||||
|
@ -10,6 +10,7 @@
|
||||
system: true
|
||||
password: "{{ user_password | default('') }}"
|
||||
groups: "{{ user_groups | join(',') }}"
|
||||
uid: "{{ user_uid }}"
|
||||
home: "{{ user_home | default('/') }}"
|
||||
shell: "{{ user_shell | default('/usr/bin/nologin') }}"
|
||||
when: user_name != "root" and not user_ldap
|
||||
|
Loading…
Reference in New Issue
Block a user