Update syncthing configuration
This commit is contained in:
parent
d2fb469108
commit
b9c33d66ce
5 changed files with 6 additions and 133 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue