c12s-kubespray/roles/adduser/tasks/main.yml

16 lines
470 B
YAML
Raw Normal View History

---
2016-01-23 17:01:18 +00:00
- name: User | Create User Group
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:
comment: "{{user.comment|default(omit)}}"
createhome: "{{user.create_home|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)}}"