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 tags: users
ansible.builtin.user: ansible.builtin.user:
name: "{{ user.username }}" name: "{{ user.username }}"
state: "{{ user.state | default('present') }}" state: "{{ user.state | default(omit) }}"
group: "{{ user.group | default(omit) }}"
groups: "{{ user.groups | default(omit) | join(',') }}" groups: "{{ user.groups | default(omit) | join(',') }}"
comment: "{{ user.comment | default(omit) }}" comment: "{{ user.comment | default(omit) }}"
shell: "{{ user.shell | default(omit) }}" shell: "{{ user.shell | default(omit) }}"