updated users state

This commit is contained in:
Paul 2022-01-25 00:20:21 +01:00
parent 969136c210
commit c2b665da2e

View File

@ -2,14 +2,13 @@
{%- from "users/map.jinja" import users with context -%}
{%- for user in users %}
{%- if not user.enabled %}
user-{{ user.name }}:
user.absent:
- name: {{ user.name }}
{%- endif %}
{%- endfor %}
{%- for user in users %}
{%- if user.enabled %}
user-{{ user.name }}:
user.present:
@ -28,4 +27,5 @@ user-{{ user.name }}:
{%- endfor %}
{%- endif %}
{%- endif %}
{% endfor %}