Use list
This commit is contained in:
parent
9e580d4bfa
commit
cb103c9090
|
@ -3,7 +3,7 @@
|
|||
user:
|
||||
name: "{{ item.name }}"
|
||||
shell: "{{ item.shell | default('/usr/sbin/nologin') }}"
|
||||
groups: "{{ item.secondary_groups | default('') }}"
|
||||
groups: "{{ (item.secondary_groups | join(',')) | default('') }}"
|
||||
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 | default('') }}"
|
||||
groups: "{{ (item.secondary_groups | join(',')) | default('') }}"
|
||||
comment: "{{ item.comment | default('') }}"
|
||||
uid: "{{ item.uid | default(omit) }}"
|
||||
home: "{{ item.home }}"
|
||||
|
|
Loading…
Reference in New Issue