Add system to groups
This commit is contained in:
parent
f79de0d750
commit
fcecfe709d
|
@ -4,6 +4,7 @@
|
|||
ansible.builtin.group:
|
||||
name: "{{ user.group | default(user.username) }}"
|
||||
gid: "{{ user.gid | default(omit) }}"
|
||||
system: "{{ user.system | default(omit) }}"
|
||||
state: present
|
||||
when:
|
||||
- user.state | default('present') == 'present'
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
comment: "{{ user.comment | default(omit) }}"
|
||||
shell: "{{ user.shell | default(omit) }}"
|
||||
password: "{{ user.password | default(omit) }}"
|
||||
system: "{{ user.system | default(omit) }}"
|
||||
system: "{{ user.system | default(false) }}"
|
||||
uid: "{{ user.uid | default(omit) }}"
|
||||
gid: "{{ user.gid | default(omit) }}"
|
||||
update_password: on_create
|
||||
|
|
Loading…
Reference in New Issue