Parcourir la source

don't fail when no groups are defined for user

master
Parent
révision
4c62ab3bc7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      tasks/main.yml

+ 1
- 1
tasks/main.yml Voir le fichier

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


Chargement…
Annuler
Enregistrer