fix indents

This commit is contained in:
m0duspwnens
2023-08-04 15:41:10 -04:00
parent 0ba1e7521a
commit 89c4f58296

View File

@@ -18,10 +18,10 @@ convert_gnome_classic:
cmd.script:
- name: salt://desktop/scripts/convert-gnome-classic.sh
{% for username in salt['file.find'](path='/home/',mindepth=1,maxdepth=1,type='d') %}
{% set username = username.split('/')[2] %}
{% if username != 'zeek' %}
{% if not salt['file.file_exists']('/var/lib/AccountsService/users/' ~ username) %}
{% for username in salt['file.find'](path='/home/',mindepth=1,maxdepth=1,type='d') %}
{% set username = username.split('/')[2] %}
{% if username != 'zeek' %}
{% if not salt['file.file_exists']('/var/lib/AccountsService/users/' ~ username) %}
{{username}}_session:
file.managed:
@@ -31,9 +31,9 @@ convert_gnome_classic:
- defaults:
USERNAME: {{username}}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
{% else %}