Browse Source

Fix nologin wrong path (#6272)

pull/6277/head
Florian Ruynat 4 years ago
committed by GitHub
parent
commit
f437ac0b27
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions
  1. 6
      roles/adduser/defaults/main.yml
  2. 6
      roles/adduser/vars/debian.yml
  3. 6
      roles/adduser/vars/redhat.yml

6
roles/adduser/defaults/main.yml

@ -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
createhome: no
system: yes
shell: /sbin/nologin
group: "{{ kube_cert_group }}"
createhome: no
adduser:
name: "{{ user.name }}"

6
roles/adduser/vars/debian.yml

@ -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
createhome: no
system: yes
shell: /sbin/nologin
group: "{{ kube_cert_group }}"
createhome: no

6
roles/adduser/vars/redhat.yml

@ -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
createhome: no
system: yes
shell: /sbin/nologin
group: "{{ kube_cert_group }}"
createhome: no
Loading…
Cancel
Save