mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-30 21:45:43 +01:00
Add ability to create system users.
This commit is contained in:
parent
1e3f6c9865
commit
c1b383d78b
@ -72,6 +72,9 @@ include:
|
||||
{% if 'password' in user -%}
|
||||
- password: '{{ user['password'] }}'
|
||||
{% endif -%}
|
||||
{% if user.get('system', False) -%}
|
||||
- system: True
|
||||
{% endif -%}
|
||||
{% if 'prime_group' in user and 'gid' in user['prime_group'] -%}
|
||||
- gid: {{ user['prime_group']['gid'] }}
|
||||
{% else -%}
|
||||
@ -252,4 +255,3 @@ googleauth-{{ svc }}-{{ name }}:
|
||||
{{ group }}:
|
||||
group.absent
|
||||
{% endfor %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user