diff --git a/roles/adduser/tasks/main.yml b/roles/adduser/tasks/main.yml index ba5edd7d066..94430beb3b6 100644 --- a/roles/adduser/tasks/main.yml +++ b/roles/adduser/tasks/main.yml @@ -1,11 +1,11 @@ --- - name: User | Create User Group - group: + ansible.builtin.group: name: "{{ user.group | default(user.name) }}" system: "{{ user.system | default(omit) }}" - name: User | Create User - user: + ansible.builtin.user: comment: "{{ user.comment | default(omit) }}" create_home: "{{ user.create_home | default(omit) }}" group: "{{ user.group | default(user.name) }}"