From f985e1e1793387455d608abe93fdca214c9dc44c Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 18 Mar 2021 15:38:37 +0100 Subject: First version of syncthing role --- roles/syncthing/tasks/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 roles/syncthing/tasks/main.yml (limited to 'roles/syncthing/tasks') 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 -- cgit v1.2.3