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 }} -->
|
||||
|
||||
<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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue