|
|
|
|
|
|
|
|
{% 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 -%} |
|
|
|
|
|
|
|
|
{{ group }}: |
|
|
{{ group }}: |
|
|
group.absent |
|
|
group.absent |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
|
|
|
|