2016-02-19 17:48:53 +00:00
|
|
|
---
|
2016-01-23 17:01:18 +00:00
|
|
|
- name: User | Create User Group
|
2016-05-22 22:25:52 +00:00
|
|
|
group: name={{user.group|default(user.name)}} system={{user.system|default(omit)}}
|
2016-01-23 17:01:18 +00:00
|
|
|
|
|
|
|
- name: User | Create User
|
|
|
|
user:
|
2016-05-22 22:25:52 +00:00
|
|
|
comment: "{{user.comment|default(omit)}}"
|
2017-02-06 12:58:54 +00:00
|
|
|
createhome: "{{user.create_home|default(omit)}}"
|
2016-05-22 22:25:52 +00:00
|
|
|
group: "{{user.group|default(user.name)}}"
|
|
|
|
home: "{{user.home|default(omit)}}"
|
|
|
|
shell: "{{user.shell|default(omit)}}"
|
|
|
|
name: "{{user.name}}"
|
|
|
|
system: "{{user.system|default(omit)}}"
|