Skip to content

Commit 47fbcbf

Browse files
author
Colin Hoglund
authored
Merge pull request #13 from olpia/master
Make user comment optional
2 parents d0f6b37 + eca27b0 commit 47fbcbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
groups="{{item.groups | join(',')}}"
1818
shell={{item.shell if item.shell is defined else users_default_shell}}
1919
password="{{item.password if item.password is defined else '!'}}"
20-
comment="{{item.name}}"
20+
comment="{{item.name if item.name is defined else ''}}"
2121
uid="{{item.uid}}"
2222
createhome="{{'yes' if users_create_homedirs else 'no'}}"
2323
with_items: users

0 commit comments

Comments
 (0)