This commit is contained in:
Dryusdan 2024-02-16 15:12:01 +01:00
parent 9e580d4bfa
commit cb103c9090
1 changed files with 2 additions and 2 deletions

View File

@ -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 }}"