fix: remove condition for user creation (#9125)

This condition blocks the creation of the `etcd` user in certain conditions.
Specifically, when you have a `etcd_deployment_type: kubeadm` and `kube_owner: root`.
Being the `root` user already present on the system, this will not be a problem (due to the idempotency of ansible).
This commit is contained in:
Alessio Greggi 2022-08-16 08:55:07 +02:00 committed by GitHub
parent bf6fcf6347
commit 86d05ac180
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,4 +13,4 @@
shell: "{{ user.shell|default(omit) }}" shell: "{{ user.shell|default(omit) }}"
name: "{{ user.name }}" name: "{{ user.name }}"
system: "{{ user.system|default(omit) }}" system: "{{ user.system|default(omit) }}"
when: kube_owner != "root" when: user.name != "root"