Merge pull request #47 from alanpearce/per-user-shell

Re-add ability to set shell per-user
This commit is contained in:
Nitin Madhok 2014-09-07 12:24:09 -04:00
commit f2e98a5b53

View File

@ -40,7 +40,7 @@
user.present: user.present:
- name: {{ name }} - name: {{ name }}
- home: {{ home }} - home: {{ home }}
- shell: {{ users.get('visudo_shell', '/bin/bash') }} - shell: {{ user.get('shell', users.get('visudo_shell', '/bin/bash')) }}
{% if 'uid' in user -%} {% if 'uid' in user -%}
- uid: {{ user['uid'] }} - uid: {{ user['uid'] }}
{% endif -%} {% endif -%}