remove default group
This commit is contained in:
parent
738674f20d
commit
1e619f21ac
|
@ -4,7 +4,7 @@
|
|||
ansible.builtin.user:
|
||||
name: "{{ user.username }}"
|
||||
state: "{{ user.state | default('present') }}"
|
||||
group: "{{ user.group | default(user.username) }}"
|
||||
group: "{{ user.group | default(omit) }}"
|
||||
groups: "{{ user.groups | default(omit) | join(',') }}"
|
||||
comment: "{{ user.comment | default(omit) }}"
|
||||
shell: "{{ user.shell | default(omit) }}"
|
||||
|
|
Loading…
Reference in New Issue