* Close #198 * All details in that issue * Solution based upon: - https://github.com/saltstack-formulas/vault-formula/pull/35#issuecomment-509854411tags/v0.46.1^2
{% elif 'prime_group' in user and 'name' in user['prime_group'] %} | {% elif 'prime_group' in user and 'name' in user['prime_group'] %} | ||||
- gid: {{ user['prime_group']['name'] }} | - gid: {{ user['prime_group']['name'] }} | ||||
{% else -%} | {% else -%} | ||||
- gid_from_name: True | |||||
- gid: {{ name }} | |||||
{% endif -%} | {% endif -%} | ||||
{% if 'fullname' in user %} | {% if 'fullname' in user %} | ||||
- fullname: {{ user['fullname'] }} | - fullname: {{ user['fullname'] }} |