From 728c3c106b6e5be4ebca7e0f0e3f1d46a67ccf2e Mon Sep 17 00:00:00 2001 From: Arthur Outhenin-Chalandre Date: Tue, 26 Sep 2023 17:56:17 +0200 Subject: [PATCH] wip: add ansible builtin to adduser tasks Signed-off-by: Arthur Outhenin-Chalandre --- roles/adduser/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }}"