Simplify fact gathering by using the cli instead of a webapi request
This commit is contained in:
parent
23e2941b3a
commit
b6ee8f76c2
6 changed files with 84 additions and 60 deletions
|
@ -1,4 +1,4 @@
|
|||
- name: restart syncthing
|
||||
service:
|
||||
name: syncthing
|
||||
name: "{{ syncthing_pre.service }}"
|
||||
state: restarted
|
||||
|
|
Reference in a new issue