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

28 lines
612 B
YAML
Raw Normal View History

---
kube_owner: kube
kube_cert_group: kube-cert
etcd_data_dir: "/var/lib/etcd"
addusers:
etcd:
name: etcd
comment: "Etcd user"
2022-09-23 07:26:39 +00:00
create_home: no
system: yes
2020-06-16 09:30:04 +00:00
shell: /sbin/nologin
kube:
name: kube
comment: "Kubernetes user"
2022-09-23 07:26:39 +00:00
create_home: no
system: yes
2020-06-16 09:30:04 +00:00
shell: /sbin/nologin
group: "{{ kube_cert_group }}"
adduser:
name: "{{ user.name }}"
group: "{{ user.name|default(None) }}"
comment: "{{ user.comment|default(None) }}"
shell: "{{ user.shell|default(None) }}"
system: "{{ user.system|default(None) }}"
2022-09-23 07:26:39 +00:00
create_home: "{{ user.create_home|default(None) }}"