arch-setup/tasks/syncthing.yml

11 lines
298 B
YAML

- name: create configuration dir
file:
path: '{{ xdg_config_dir }}/syncthing'
state: directory
- name: copy configuration file
template:
src: 'templates/{{ platform }}/syncthing.j2'
dest: '{{ xdg_config_dir }}/syncthing/config.xml'
mode: '0600'
notify: restart syncthing