mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-27 22:38:34 +01:00
[init] add makedirs to home directory creation
This commit is contained in:
parent
2844c9091e
commit
c8922bfdb5
@ -63,6 +63,7 @@ users_{{ name }}_user:
|
||||
- user: {{ user.get('homedir_owner', name) }}
|
||||
- group: {{ user.get('homedir_group', user_group) }}
|
||||
- mode: {{ user.get('user_dir_mode', '0750') }}
|
||||
- makedirs: True
|
||||
- require:
|
||||
- user: users_{{ name }}_user
|
||||
- group: {{ user_group }}
|
||||
|
Loading…
Reference in New Issue
Block a user