dacfbde0b0
* Leave all.yml to keep only optional vars * Store groups' specific vars by existing group names * Fix optional vars casted as mandatory (add default()) * Fix missing defaults for an optional IP var * Relink group_vars for terraform to reflect changes Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
26 lines
586 B
YAML
26 lines
586 B
YAML
---
|
|
kube_cert_group: kube-cert
|
|
|
|
addusers:
|
|
etcd:
|
|
name: etcd
|
|
comment: "Etcd user"
|
|
createhome: yes
|
|
home: "/var/lib/etcd"
|
|
system: yes
|
|
shell: /bin/nologin
|
|
kube:
|
|
name: kube
|
|
comment: "Kubernetes user"
|
|
shell: /sbin/nologin
|
|
system: yes
|
|
group: "{{ kube_cert_group }}"
|
|
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) }}"
|