Compare commits

..

No commits in common. "d215e2c9e6cae8b35ed9684bd5aaab8ccb28d46a" and "077f2ab15fb8bddec4f2370aa0763f47e89297fb" have entirely different histories.

View File

@ -7,13 +7,13 @@
{%- for name, user in users.items() %}
{{ name|json }}:
user.present:
usergroup: true
createhome: true
groups: {{ user.get('groups', [])|json }}
- usergroup: true
- createhome: true
- groups: {{ user.get('groups', [])|json }}
{%- if user.password is defined %}
password: {{ user.password|json }}
- password: {{ user.password|json }}
{%- endif %}
{%- if user.shell is defined %}
shell: {{ user.shell }}
- shell: {{ user.shell }}
{%- endif %}
{%- endfor %}