diff options
author | binary <me@rgoncalves.se> | 2021-03-18 15:38:37 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-03-18 15:38:37 +0100 |
commit | f985e1e1793387455d608abe93fdca214c9dc44c (patch) | |
tree | 7524ee70838a6313790dd9b3d7f0f4b799ccb682 /roles/syncthing/tasks | |
parent | 0f822dc490f3f90138b83fd9a323d0d37ef9512b (diff) | |
download | infrastructure-f985e1e1793387455d608abe93fdca214c9dc44c.tar.gz |
First version of syncthing role
Diffstat (limited to 'roles/syncthing/tasks')
-rw-r--r-- | roles/syncthing/tasks/main.yml | 16 |
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 |