aboutsummaryrefslogtreecommitdiffstats
path: root/roles/syncthing/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/syncthing/tasks')
-rw-r--r--roles/syncthing/tasks/main.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/syncthing/tasks/main.yml b/roles/syncthing/tasks/main.yml
new file mode 100644
index 0000000..1be6dae
--- /dev/null
+++ b/roles/syncthing/tasks/main.yml
@@ -0,0 +1,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
remember that computers suck.