Use handlers
This commit is contained in:
parent
4e80a501c6
commit
ce697edcc9
6 changed files with 37 additions and 32 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue