summaryrefslogtreecommitdiffstats
path: root/roles/ands_kaas/tasks/do_sysgroups.yml
blob: 3ed03b93d8ed9e23cc42c2188026044d4b1078a6 (plain)
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) }}"