2016-02-20 01:48:53 +08:00
|
|
|
---
|
2016-01-24 01:01:18 +08:00
|
|
|
- name: User | Create User Group
|
2017-02-18 05:22:34 +08:00
|
|
|
group:
|
2019-05-03 05:24:21 +08:00
|
|
|
name: "{{ user.group|default(user.name) }}"
|
|
|
|
system: "{{ user.system|default(omit) }}"
|
2016-01-24 01:01:18 +08:00
|
|
|
|
|
|
|
- name: User | Create User
|
|
|
|
user:
|
2019-05-03 05:24:21 +08:00
|
|
|
comment: "{{ user.comment|default(omit) }}"
|
|
|
|
createhome: "{{ user.createhome|default(omit) }}"
|
|
|
|
group: "{{ user.group|default(user.name) }}"
|
|
|
|
home: "{{ user.home|default(omit) }}"
|
|
|
|
shell: "{{ user.shell|default(omit) }}"
|
|
|
|
name: "{{ user.name }}"
|
|
|
|
system: "{{ user.system|default(omit) }}"
|