2016-05-23 06:25:52 +08:00
|
|
|
---
|
2016-12-27 23:39:00 +08:00
|
|
|
kube_cert_group: kube-cert
|
2017-02-24 22:58:54 +08:00
|
|
|
etcd_data_dir: "/var/lib/etcd"
|
2016-12-27 23:39:00 +08:00
|
|
|
|
2016-05-23 06:25:52 +08:00
|
|
|
addusers:
|
|
|
|
etcd:
|
2017-02-06 20:58:54 +08:00
|
|
|
name: etcd
|
2016-05-23 06:25:52 +08:00
|
|
|
comment: "Etcd user"
|
2017-02-06 20:58:54 +08:00
|
|
|
createhome: yes
|
2017-02-24 22:58:54 +08:00
|
|
|
home: "{{ etcd_data_dir }}"
|
2016-05-23 06:25:52 +08:00
|
|
|
system: yes
|
2017-02-06 20:58:54 +08:00
|
|
|
shell: /bin/nologin
|
2016-05-23 06:25:52 +08:00
|
|
|
kube:
|
2017-02-06 20:58:54 +08:00
|
|
|
name: kube
|
2016-05-23 06:25:52 +08:00
|
|
|
comment: "Kubernetes user"
|
2017-02-06 20:58:54 +08:00
|
|
|
shell: /sbin/nologin
|
2016-05-23 06:25:52 +08:00
|
|
|
system: yes
|
2017-02-06 20:58:54 +08:00
|
|
|
group: "{{ kube_cert_group }}"
|
2016-05-23 06:25:52 +08:00
|
|
|
createhome: no
|
|
|
|
|
|
|
|
adduser:
|
|
|
|
name: "{{ user.name }}"
|
|
|
|
group: "{{ user.name|default(None) }}"
|
|
|
|
comment: "{{ user.comment|default(None) }}"
|
|
|
|
shell: "{{ user.shell|default(None) }}"
|
|
|
|
system: "{{ user.system|default(None) }}"
|
|
|
|
createhome: "{{ user.createhome|default(None) }}"
|