Make uid optionnal

This commit is contained in:
Dryusdan 2021-04-16 16:29:07 +02:00
parent 9fb0576cb8
commit b37e2c2e62
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
shell: "{{ item.shell | default('/bin/false') }}"
groups: "{{ item.secondary_groups | default('') }}"
comment: "{{ item.comment | default('') }}"
uid: "{{ item.uid | default('') }}"
uid: "{{ item.uid | default(omit) }}"
home: "{{ item.home }}"
generate_ssh_key: yes
ssh_key_type: ed25519