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).pull/9165/head
parent
bf6fcf6347
commit
86d05ac180
|
@ -13,4 +13,4 @@
|
|||
shell: "{{ user.shell|default(omit) }}"
|
||||
name: "{{ user.name }}"
|
||||
system: "{{ user.system|default(omit) }}"
|
||||
when: kube_owner != "root"
|
||||
when: user.name != "root"
|
||||
|
|
Loading…
Reference in New Issue