2016-05-23 06:25:52 +08:00
|
|
|
---
|
2022-06-17 16:34:32 +08:00
|
|
|
kube_owner: kube
|
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"
|
2019-11-11 19:27:41 +08:00
|
|
|
createhome: no
|
2016-05-23 06:25:52 +08:00
|
|
|
system: yes
|
2020-06-16 17:30:04 +08:00
|
|
|
shell: /sbin/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"
|
2020-06-16 17:30:04 +08:00
|
|
|
createhome: no
|
2016-05-23 06:25:52 +08:00
|
|
|
system: yes
|
2020-06-16 17:30:04 +08:00
|
|
|
shell: /sbin/nologin
|
2017-02-06 20:58:54 +08:00
|
|
|
group: "{{ kube_cert_group }}"
|
2016-05-23 06:25:52 +08:00
|
|
|
|
|
|
|
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) }}"
|