diff --git a/roles/mgrote_users/tasks/main.yml b/roles/mgrote_users/tasks/main.yml index 1d58c56a..aac29ef8 100644 --- a/roles/mgrote_users/tasks/main.yml +++ b/roles/mgrote_users/tasks/main.yml @@ -14,7 +14,7 @@ name: "{{ item }}" state: present loop: '{{ groups_as_list }}' - when: item.groups is defined + when: groups_as_list is defined # no_log: true # TODO - name: create users