ansible vault for syncthing keys
This commit is contained in:
parent
8e8564216e
commit
6931466017
5 changed files with 80 additions and 5 deletions
|
@ -12,6 +12,14 @@
|
|||
template:
|
||||
src: "{{ role_path }}/templates/config.xml.j2"
|
||||
dest: /home/syncthing/.config/syncthing/config.xml
|
||||
- name: Copy Syncthing private key
|
||||
copy:
|
||||
src: "{{ role_path }}/files/key.pem"
|
||||
dest: /home/syncthing/.config/syncthing/key.pem
|
||||
- name: Copy Syncthing certificate
|
||||
copy:
|
||||
src: "{{ role_path }}/files/cert.pem"
|
||||
dest: /home/syncthing/.config/syncthing/cert.pem
|
||||
- name: Enable Syncthing service
|
||||
systemd:
|
||||
name: syncthing@syncthing
|
||||
|
|
Reference in a new issue