try another way
This commit is contained in:
parent
cb103c9090
commit
e716b68e4c
|
@ -3,7 +3,7 @@
|
|||
user:
|
||||
name: "{{ item.name }}"
|
||||
shell: "{{ item.shell | default('/usr/sbin/nologin') }}"
|
||||
groups: "{{ (item.secondary_groups | join(',')) | default('') }}"
|
||||
groups: "{{ (item.secondary_groups | default('')) | join(',') }}"
|
||||
comment: "{{ item.comment | default('') }}"
|
||||
home: "{{ item.home }}"
|
||||
generate_ssh_key: yes
|
||||
|
@ -34,7 +34,7 @@
|
|||
user:
|
||||
name: "{{ item.name }}"
|
||||
shell: "{{ item.shell | default('/usr/sbin/nologin') }}"
|
||||
groups: "{{ (item.secondary_groups | join(',')) | default('') }}"
|
||||
groups: "{{ (item.secondary_groups | default('')) | join(',') }}"
|
||||
comment: "{{ item.comment | default('') }}"
|
||||
uid: "{{ item.uid | default(omit) }}"
|
||||
home: "{{ item.home }}"
|
||||
|
|
Loading…
Reference in a new issue