not more need for homedir, if not needed
This commit is contained in:
parent
694fd0de6d
commit
e486032283
@ -89,7 +89,9 @@ users_{{ name }}_user:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
user.present:
|
user.present:
|
||||||
- name: {{ name }}
|
- name: {{ name }}
|
||||||
|
{% if user.get('createhome', True) -%}
|
||||||
- home: {{ home }}
|
- home: {{ home }}
|
||||||
|
{% endif -%}
|
||||||
- shell: {{ user.get('shell', current.get('shell', users.get('shell', '/bin/bash'))) }}
|
- shell: {{ user.get('shell', current.get('shell', users.get('shell', '/bin/bash'))) }}
|
||||||
{% if 'uid' in user -%}
|
{% if 'uid' in user -%}
|
||||||
- uid: {{ user['uid'] }}
|
- uid: {{ user['uid'] }}
|
||||||
|
Loading…
Reference in New Issue
Block a user