Skip to content

Commit

Permalink
wip: add ansible builtin to adduser tasks
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Outhenin-Chalandre <[email protected]>
  • Loading branch information
MrFreezeex committed Sep 26, 2023
1 parent ea8dcd8 commit 728c3c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/adduser/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -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) }}"
Expand Down

0 comments on commit 728c3c1

Please sign in to comment.