1 2 3 4 5 6 7 8 9 10 11 12
- name: Populate system users and groups include_tasks: sysgroup.yml with_dict: "{{ kaas_project_gids }}" loop_control: loop_var: group when: - group.value.users is defined - (gid | int) >= 2000 vars: gid: "{{ group.value.id }}" users: "{{ group.value.users }}" name: "{{ group.value.name | default('kaas_' ~ group.key) }}"