Apply config formatting
This commit is contained in:
parent
fd2dc88044
commit
7beeb4b75a
1 changed files with 6 additions and 6 deletions
|
|
@ -1,18 +1,18 @@
|
||||||
<!-- {{ ansible_managed }} -->
|
<!-- {{ ansible_managed }} -->
|
||||||
|
|
||||||
<configuration version="{{ syncthing_config_version }}">
|
<configuration version="{{ syncthing_config_version }}">
|
||||||
{% for folder in syncthing_folders %}
|
{% for folder in syncthing_folders -%}
|
||||||
<folder
|
<folder
|
||||||
id="{{ folder.id }}"
|
id="{{ folder.id }}"
|
||||||
label="{{ folder.label }}"
|
label="{{ folder.label }}"
|
||||||
path="{{ folder.path }}"
|
path="{{ folder.path }}"
|
||||||
type="{{ folder.type }}">
|
type="{{ folder.type }}">
|
||||||
|
|
||||||
{% for id in folder.devices %}
|
{% for id in folder.devices -%}
|
||||||
<device id="{{ id }}">
|
<device id="{{ id }}">
|
||||||
<encryptionPassword></encryptionPassword>
|
<encryptionPassword></encryptionPassword>
|
||||||
</device>
|
</device>
|
||||||
{% endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
<filesystemType>basic</filesystemType>
|
<filesystemType>basic</filesystemType>
|
||||||
<minDiskFree unit="%">20</minDiskFree>
|
<minDiskFree unit="%">20</minDiskFree>
|
||||||
|
|
@ -48,9 +48,9 @@
|
||||||
<syncXattrs>false</syncXattrs>
|
<syncXattrs>false</syncXattrs>
|
||||||
<sendXattrs>false</sendXattrs>
|
<sendXattrs>false</sendXattrs>
|
||||||
</folder>
|
</folder>
|
||||||
{% endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
{% for device in syncthing_devices %}
|
{% for device in syncthing_devices -%}
|
||||||
<device
|
<device
|
||||||
id="{{ device.id }}"
|
id="{{ device.id }}"
|
||||||
name="{{ device.name }}"
|
name="{{ device.name }}"
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
<remoteGUIPort>0</remoteGUIPort>
|
<remoteGUIPort>0</remoteGUIPort>
|
||||||
<numConnections>0</numConnections>
|
<numConnections>0</numConnections>
|
||||||
</device>
|
</device>
|
||||||
{% endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
<gui enabled="true" tls="true" debugging="false">
|
<gui enabled="true" tls="true" debugging="false">
|
||||||
<address>{{ syncthing_listen_address }}:{{ syncthing_gui_port }}</address>
|
<address>{{ syncthing_listen_address }}:{{ syncthing_gui_port }}</address>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue