Add desktop syncthing setup
This commit is contained in:
parent
5911d7ace4
commit
29d1542a66
4 changed files with 165 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue