Use simpler file structure

This commit is contained in:
Sonny Bakker 2021-01-29 20:56:23 +01:00
parent 8ea9414418
commit e8cb486c8f
96 changed files with 1001 additions and 436 deletions

11
tasks/syncthing.yml Normal file
View file

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