not more need for homedir, if not needed

This commit is contained in:
Arthur 2017-04-25 19:29:00 +02:00
parent 694fd0de6d
commit e486032283

View File

@ -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'] }}