Add ability to create system users.
This commit is contained in:
parent
1e3f6c9865
commit
c1b383d78b
@ -72,6 +72,9 @@ include:
|
|||||||
{% if 'password' in user -%}
|
{% if 'password' in user -%}
|
||||||
- password: '{{ user['password'] }}'
|
- password: '{{ user['password'] }}'
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
{% if user.get('system', False) -%}
|
||||||
|
- system: True
|
||||||
|
{% endif -%}
|
||||||
{% if 'prime_group' in user and 'gid' in user['prime_group'] -%}
|
{% if 'prime_group' in user and 'gid' in user['prime_group'] -%}
|
||||||
- gid: {{ user['prime_group']['gid'] }}
|
- gid: {{ user['prime_group']['gid'] }}
|
||||||
{% else -%}
|
{% else -%}
|
||||||
@ -252,4 +255,3 @@ googleauth-{{ svc }}-{{ name }}:
|
|||||||
{{ group }}:
|
{{ group }}:
|
||||||
group.absent
|
group.absent
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user