Add desktop syncthing setup

This commit is contained in:
Sonny Bakker 2020-12-03 19:47:59 +01:00
parent 5911d7ace4
commit 29d1542a66
4 changed files with 165 additions and 13 deletions

View file

@ -0,0 +1,11 @@
- name: create configuration dir
file:
path: "{{ xdg_config_dir }}/syncthing"
state: directory
- name: copy configuration file
template:
src: "{{ platform }}/syncthing.j2"
dest: "{{ xdg_config_dir }}/syncthing/config.xml"
mode: "0600"
notify: restart syncthing