* add ability to configure prime_group without gidlookup-fix-3
{% endif -%} | {% endif -%} | ||||
{% if 'prime_group' in user and 'gid' in user['prime_group'] -%} | {% if 'prime_group' in user and 'gid' in user['prime_group'] -%} | ||||
- gid: {{ user['prime_group']['gid'] }} | - gid: {{ user['prime_group']['gid'] }} | ||||
{% elif 'prime_group' in user and 'name' in user['prime_group'] %} | |||||
- gid: {{ user['prime_group']['name'] }} | |||||
{% else -%} | {% else -%} | ||||
- gid_from_name: True | - gid_from_name: True | ||||
{% endif -%} | {% endif -%} |