add syncthing for os3 desktop
This commit is contained in:
parent
3ac5371313
commit
98b79f5525
11 changed files with 184 additions and 134 deletions
|
@ -11,14 +11,16 @@
|
|||
src: "{{ role_path }}/templates/config.xml.j2"
|
||||
dest: ~/.config/syncthing/config.xml
|
||||
register: config
|
||||
vars:
|
||||
profile: "{{ syncthing[syncthing_profile] }}"
|
||||
- name: Copy Syncthing private key
|
||||
copy:
|
||||
src: "{{ role_path }}/files/key.pem"
|
||||
src: "{{ role_path }}/files/{{ syncthing_profile }}/key.pem"
|
||||
dest: ~/.config/syncthing/key.pem
|
||||
register: private_key
|
||||
- name: Copy Syncthing certificate
|
||||
copy:
|
||||
src: "{{ role_path }}/files/cert.pem"
|
||||
src: "{{ role_path }}/files/{{ syncthing_profile }}/cert.pem"
|
||||
dest: ~/.config/syncthing/cert.pem
|
||||
register: certificate
|
||||
- name: Enable Syncthing
|
||||
|
|
Reference in a new issue