Use simpler file structure
This commit is contained in:
parent
8ea9414418
commit
d5ca1ac81d
74 changed files with 398 additions and 477 deletions
11
tasks/syncthing.yml
Normal file
11
tasks/syncthing.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue