Explorar el Código

don't fail when no groups are defined for user

master
padre
commit
4c62ab3bc7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      tasks/main.yml

+ 1
- 1
tasks/main.yml Ver fichero

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


Cargando…
Cancelar
Guardar