Add syncthing configuration
This commit is contained in:
parent
2b3f675008
commit
3e08dd2bf5
4 changed files with 184 additions and 3 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue