2016-05-22 22:25:52 +00:00
|
|
|
---
|
|
|
|
addusers:
|
|
|
|
etcd:
|
2017-02-06 12:58:54 +00:00
|
|
|
name: etcd
|
2016-05-22 22:25:52 +00:00
|
|
|
comment: "Etcd user"
|
2017-02-06 12:58:54 +00:00
|
|
|
createhome: yes
|
2016-05-22 22:25:52 +00:00
|
|
|
home: "/var/lib/etcd"
|
|
|
|
system: yes
|
2017-02-06 12:58:54 +00:00
|
|
|
shell: /bin/nologin
|
2016-05-22 22:25:52 +00:00
|
|
|
kube:
|
2017-02-06 12:58:54 +00:00
|
|
|
name: kube
|
2016-05-22 22:25:52 +00:00
|
|
|
comment: "Kubernetes user"
|
2017-02-06 12:58:54 +00:00
|
|
|
shell: /sbin/nologin
|
2016-05-22 22:25:52 +00:00
|
|
|
system: yes
|
2017-02-06 12:58:54 +00:00
|
|
|
group: "{{ kube_cert_group }}"
|
2016-05-22 22:25:52 +00:00
|
|
|
createhome: no
|
2017-01-13 20:31:10 +00:00
|
|
|
vault:
|
|
|
|
comment: "Hashicorp Vault user"
|
|
|
|
createhome: no
|
|
|
|
name: vault
|
|
|
|
shell: /sbin/nologin
|
|
|
|
system: yes
|
|
|
|
|
|
|
|
|
2016-05-22 22:25:52 +00: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) }}"
|