Fix nologin wrong path (#6272)

This commit is contained in:
Florian Ruynat 2020-06-16 11:30:04 +02:00 committed by GitHub
parent 8ec6729cae
commit f437ac0b27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 12 deletions

View file

@ -8,14 +8,14 @@ addusers:
comment: "Etcd user"
createhome: no
system: yes
shell: /bin/nologin
shell: /sbin/nologin
kube:
name: kube
comment: "Kubernetes user"
shell: /sbin/nologin
system: yes
group: "{{ kube_cert_group }}"
createhome: no
system: yes
shell: /sbin/nologin
group: "{{ kube_cert_group }}"
adduser:
name: "{{ user.name }}"

View file

@ -5,11 +5,11 @@ addusers:
createhome: yes
home: "{{ etcd_data_dir }}"
system: yes
shell: /bin/nologin
shell: /sbin/nologin
- name: kube
comment: "Kubernetes user"
shell: /sbin/nologin
system: yes
group: "{{ kube_cert_group }}"
createhome: no
system: yes
shell: /sbin/nologin
group: "{{ kube_cert_group }}"

View file

@ -5,11 +5,11 @@ addusers:
createhome: yes
home: "{{ etcd_data_dir }}"
system: yes
shell: /bin/nologin
shell: /sbin/nologin
- name: kube
comment: "Kubernetes user"
shell: /sbin/nologin
system: yes
group: "{{ kube_cert_group }}"
createhome: no
system: yes
shell: /sbin/nologin
group: "{{ kube_cert_group }}"