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

@ -52,6 +52,6 @@
- include_tasks: mpv.yml
- include_tasks: mpd.yml
- include_tasks: postgres.yml # TODO
- include_tasks: syncthing.yml # TODO depending on platform
- include_tasks: syncthing.yml # TODO (laptop)
- include_tasks: openvpn.yml # TODO (laptop)
- include_tasks: timer.yml

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