Bläddra i källkod

don't fail when no groups are defined for user

master
förälder
incheckning
4c62ab3bc7
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      tasks/main.yml

+ 1
- 1
tasks/main.yml Visa fil

@@ -20,7 +20,7 @@
user:
name: "{{ item }}"
group: "{{ item }}"
groups: "{{ users[item].groups | join(',') }}"
groups: "{{ users[item].groups | default([]) | join(',') }}"
uid: "{{ users[item].uid }}"
home: "{{ users[item].home | default('/home/'+item) }}"
shell: "{{ users[item].shell | default('/bin/bash') }}"


Laddar…
Avbryt
Spara