podman/user.sls - Add random password for puser
This commit is contained in:
parent
169c969b46
commit
4ddca813a2
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ podman_user_puser:
|
|||
- uid: 2000
|
||||
- shell: /bin/zsh
|
||||
- home: /home/puser
|
||||
- password: {{ salt['cmd.shell']('< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32};echo;') }}
|
||||
- hash_password: True
|
||||
- usergroup: True
|
||||
- createhome: True
|
||||
- require:
|
||||
|
|
Loading…
Reference in a new issue