Add syncthing configuration

This commit is contained in:
Sonny Bakker 2021-10-27 14:27:42 +02:00
parent 2b3f675008
commit 3e08dd2bf5
4 changed files with 184 additions and 3 deletions

View file

@ -0,0 +1,12 @@
- name: copy syncthing template
template:
src: 'templates/syncthing.j2'
dest: '{{ ansible_env.HOME }}/.config/syncthing/config.xml'
mode: '0600'
- name: restart syncthing service
systemd:
name: syncthing
state: restarted
enabled: true
scope: user