diff --git a/roles/mgrote_users/tasks/main.yml b/roles/mgrote_users/tasks/main.yml index 28c0d77a..a86703cf 100644 --- a/roles/mgrote_users/tasks/main.yml +++ b/roles/mgrote_users/tasks/main.yml @@ -4,6 +4,7 @@ groups_as_list: "{{ (groups_as_list | default([]) + item.groups.split(',')) | map('trim') | list | sort | unique }}" loop: '{{ users }}' when: item.groups is defined + ignore_errors: true - name: create groups ansible.builtin.group: