Skip to content

Commit a4be90c

Browse files
author
Colin Hoglund
committed
BUGFIX: check that item.profile is defined
1 parent ef770d0 commit a4be90c

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
@@ -38,7 +38,7 @@
3838
group: "{{item.username}}"
3939
mode: 0644
4040
create: true
41-
when: users_create_homedirs
41+
when: users_create_homedirs and item.profile is defined
4242
with_items: "{{users}}"
4343

4444
- name: Deleted user removal

0 commit comments

Comments
 (0)