13 lines
238 B
Plaintext
13 lines
238 B
Plaintext
|
---
|
||
|
{%- from "users/map.jinja" import groups with context -%}
|
||
|
|
||
|
{%- for group in groups %}
|
||
|
group-{{ group.name }}:
|
||
|
{%- if group.enabled %}
|
||
|
group.present:
|
||
|
{%- else %}
|
||
|
group.absent:
|
||
|
{%- endif %}
|
||
|
- name: {{ group.name }}
|
||
|
{% endfor %}
|