diff --git a/roles/adduser/tasks/main.yml b/roles/adduser/tasks/main.yml index a36467977..45b2de9b8 100644 --- a/roles/adduser/tasks/main.yml +++ b/roles/adduser/tasks/main.yml @@ -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"