mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-28 02:57:55 +01:00
Merge pull request #47 from alanpearce/per-user-shell
Re-add ability to set shell per-user
This commit is contained in:
commit
f2e98a5b53
@ -40,7 +40,7 @@
|
||||
user.present:
|
||||
- name: {{ name }}
|
||||
- home: {{ home }}
|
||||
- shell: {{ users.get('visudo_shell', '/bin/bash') }}
|
||||
- shell: {{ user.get('shell', users.get('visudo_shell', '/bin/bash')) }}
|
||||
{% if 'uid' in user -%}
|
||||
- uid: {{ user['uid'] }}
|
||||
{% endif -%}
|
||||
|
Loading…
Reference in New Issue
Block a user