Update syncthing configuration

This commit is contained in:
Sonny Bakker 2026-01-08 19:34:55 +01:00
parent d2fb469108
commit b9c33d66ce
5 changed files with 6 additions and 133 deletions

View file

@ -1,7 +1,7 @@
---
- name: Create configuration dir
ansible.builtin.file:
path: "{{ xdg_config_dir }}/syncthing"
path: "{{ xdg_state_dir }}/syncthing"
state: directory
mode: "0755"
@ -14,6 +14,6 @@
- name: Copy configuration file
ansible.builtin.template:
src: "templates/syncthing/config.j2"
dest: "{{ xdg_config_dir }}/syncthing/config.xml"
dest: "{{ xdg_state_dir }}/syncthing/config.xml"
mode: "0640"
notify: start syncthing
notify: Start syncthing