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"
|
2022-09-23 15:26:39 +08:00
|
|
|
create_home: 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"
|
2022-09-23 15:26:39 +08:00
|
|
|
create_home: 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 }}"
|
2023-07-05 11:36:54 +08:00
|
|
|
group: "{{ user.name | default(None) }}"
|
|
|
|
comment: "{{ user.comment | default(None) }}"
|
|
|
|
shell: "{{ user.shell | default(None) }}"
|
|
|
|
system: "{{ user.system | default(None) }}"
|
|
|
|
create_home: "{{ user.create_home | default(None) }}"
|