mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2026-09-22 03:09:24 +02:00
Add support for setting user expire
This commit is contained in:
@@ -58,6 +58,9 @@
|
||||
{% if not user.get('createhome', True) %}
|
||||
- createhome: False
|
||||
{% endif %}
|
||||
{% if 'expire' in user -%}
|
||||
- expire: {{ user['expire'] }}
|
||||
{% endif -%}
|
||||
- remove_groups: {{ user.get('remove_groups', 'False') }}
|
||||
- groups:
|
||||
- {{ user_group }}
|
||||
|
||||
Reference in New Issue
Block a user