Merge pull request #119 from rhertzog/system-group
Create a system usergroup if user is a system user
This commit is contained in:
commit
ebc81c806b
@ -73,6 +73,9 @@ users_{{ name }}_user:
|
|||||||
{%- elif 'uid' in user %}
|
{%- elif 'uid' in user %}
|
||||||
- gid: {{ user['uid'] }}
|
- gid: {{ user['uid'] }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
{% if 'system' in user and user['system'] %}
|
||||||
|
- system: True
|
||||||
|
{% endif %}
|
||||||
user.present:
|
user.present:
|
||||||
- name: {{ name }}
|
- name: {{ name }}
|
||||||
- home: {{ home }}
|
- home: {{ home }}
|
||||||
|
Loading…
Reference in New Issue
Block a user