remove group

This commit is contained in:
Patrick Neff 2022-01-23 02:35:27 +01:00
parent 1e619f21ac
commit 828f7b7274
1 changed files with 1 additions and 2 deletions

View File

@ -3,8 +3,7 @@
tags: users
ansible.builtin.user:
name: "{{ user.username }}"
state: "{{ user.state | default('present') }}"
group: "{{ user.group | default(omit) }}"
state: "{{ user.state | default(omit) }}"
groups: "{{ user.groups | default(omit) | join(',') }}"
comment: "{{ user.comment | default(omit) }}"
shell: "{{ user.shell | default(omit) }}"