Use handlers

This commit is contained in:
sonny 2024-08-03 15:18:18 +02:00
parent 4e80a501c6
commit ce697edcc9
6 changed files with 37 additions and 32 deletions

View file

@ -3,10 +3,4 @@
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
notify: restart syncthing service