|
@@ -1,7 +1,4 @@
|
|
|
---
|
|
|
-- name: Dependencies installed
|
|
|
- community.general.pkgng: name=syncthing state=latest
|
|
|
-
|
|
|
- name: Fetched syncthing release
|
|
|
shell:
|
|
|
chdir: /tmp
|
|
@@ -16,6 +13,7 @@
|
|
|
shell:
|
|
|
chdir: /tmp/syncthing-freebsd-amd64-v1.19.2
|
|
|
cmd: "mv syncthing /usr/local/bin/syncthing & mv etc/freebsd-rc/syncthing /usr/local/etc/rc.d/syncthing & chmod +x /usr/local/etc/rc.d/syncthing"
|
|
|
+ warn: false
|
|
|
|
|
|
- name: Syncthing enabled
|
|
|
shell: sysrc syncthing_enable="YES"
|