Apply config formatting

This commit is contained in:
sonny 2025-03-13 22:45:33 +01:00
parent fd2dc88044
commit 7beeb4b75a

View file

@ -1,18 +1,18 @@
<!-- {{ ansible_managed }} -->
<configuration version="{{ syncthing_config_version }}">
{% for folder in syncthing_folders %}
{% for folder in syncthing_folders -%}
<folder
id="{{ folder.id }}"
label="{{ folder.label }}"
path="{{ folder.path }}"
type="{{ folder.type }}">
{% for id in folder.devices %}
{% for id in folder.devices -%}
<device id="{{ id }}">
<encryptionPassword></encryptionPassword>
</device>
{% endfor %}
{%- endfor %}
<filesystemType>basic</filesystemType>
<minDiskFree unit="%">20</minDiskFree>
@ -48,9 +48,9 @@
<syncXattrs>false</syncXattrs>
<sendXattrs>false</sendXattrs>
</folder>
{% endfor %}
{%- endfor %}
{% for device in syncthing_devices %}
{% for device in syncthing_devices -%}
<device
id="{{ device.id }}"
name="{{ device.name }}"
@ -65,7 +65,7 @@
<remoteGUIPort>0</remoteGUIPort>
<numConnections>0</numConnections>
</device>
{% endfor %}
{%- endfor %}
<gui enabled="true" tls="true" debugging="false">
<address>{{ syncthing_listen_address }}:{{ syncthing_gui_port }}</address>