blob: 18bd9a6d12524e6a1f013079bc75ba400234f9de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
- name: "Ensure system group {{ name }} with gid {{ gid }} is existing"
group: name="{{ name }}" gid="{{ gid }}" state="present"
- name: "Process users registered for group {{ name }}"
include_tasks: sysuser.yml
with_list: "{{ users }}"
when:
- ands_openshift_users[user] is defined
- spec.name is defined
vars:
spec: "{{ ands_openshift_users[user] | default({}) }}"
new_group: "{{ name }}"
loop_control:
loop_var: user
|