Compare commits
No commits in common. "077f2ab15fb8bddec4f2370aa0763f47e89297fb" and "d215e2c9e6cae8b35ed9684bd5aaab8ccb28d46a" have entirely different histories.
077f2ab15f
...
d215e2c9e6
@ -7,13 +7,13 @@
|
|||||||
{%- for name, user in users.items() %}
|
{%- for name, user in users.items() %}
|
||||||
{{ name|json }}:
|
{{ name|json }}:
|
||||||
user.present:
|
user.present:
|
||||||
- usergroup: true
|
usergroup: true
|
||||||
- createhome: true
|
createhome: true
|
||||||
- groups: {{ user.get('groups', [])|json }}
|
groups: {{ user.get('groups', [])|json }}
|
||||||
{%- if user.password is defined %}
|
{%- if user.password is defined %}
|
||||||
- password: {{ user.password|json }}
|
password: {{ user.password|json }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if user.shell is defined %}
|
{%- if user.shell is defined %}
|
||||||
- shell: {{ user.shell }}
|
shell: {{ user.shell }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user