1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# syncthing ~~ roles/syncthing/tasks/main.yml # Init syncthing user and settings --- - name: ensure syncthing package is present package: name: syncthing state: present - name: ensure syncthing is started and enabled service: name: syncthing state: restarted enabled: true