autostart syncthing
This commit is contained in:
parent
dfc2f641cb
commit
a9143e842d
1 changed files with 6 additions and 1 deletions
|
@ -22,4 +22,9 @@
|
||||||
copy:
|
copy:
|
||||||
src: "{{ role_path }}/files/cert.pem"
|
src: "{{ role_path }}/files/cert.pem"
|
||||||
dest: ~/.config/syncthing/cert.pem
|
dest: ~/.config/syncthing/cert.pem
|
||||||
|
- name: Enable Syncthing
|
||||||
|
become: true
|
||||||
|
systemd:
|
||||||
|
enabled: true
|
||||||
|
name: "syncthing@{{ ansible_user_id }}"
|
||||||
|
state: restarted
|
||||||
|
|
Reference in a new issue