2020-07-10 00:58:55 +02:00
|
|
|
---
|
|
|
|
{%- from "users/map.jinja" import groups with context -%}
|
|
|
|
|
2022-06-08 23:48:21 +02:00
|
|
|
{%- for name,group in groups.items() %}
|
|
|
|
group-{{ name }}:
|
2020-07-10 00:58:55 +02:00
|
|
|
{%- if group.enabled %}
|
|
|
|
group.present:
|
|
|
|
{%- else %}
|
|
|
|
group.absent:
|
|
|
|
{%- endif %}
|
2022-06-08 23:48:21 +02:00
|
|
|
- name: {{ name }}
|
2020-07-10 00:58:55 +02:00
|
|
|
{% endfor %}
|