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:
parent
bf6fcf6347
commit
86d05ac180
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue