remove group
This commit is contained in:
parent
1e619f21ac
commit
828f7b7274
|
@ -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) }}"
|
||||||
|
|
Loading…
Reference in New Issue