# Add the group to the
- name: Add group to
debug:
debug:
msg: "vserver services name-service unix-group create -vserver ITSOBulkData01 -name {{ item }} -id {{ account_groups | selectattr('group', 'equalto', item) | map(attribute='gid') | join(',') }}
loop:
with_items: "{{ netapp_groups
when: account_groups | selectattr("group", "equalto",
loop_control:
label: "{{ item.username }}"