mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-30 23:55:43 +01:00
Re-add ability to set shell per-user
This commit is contained in:
parent
55d7912363
commit
0c3b8ff765
@ -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 -%}
|
||||||
|
Loading…
Reference in New Issue
Block a user