aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/syncthing.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/syncthing.yml')
-rw-r--r--playbooks/syncthing.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/playbooks/syncthing.yml b/playbooks/syncthing.yml
new file mode 100644
index 0000000..3fad588
--- /dev/null
+++ b/playbooks/syncthing.yml
@@ -0,0 +1,19 @@
+- import_playbook: common.yml
+ vars:
+ hostlist: syncthing_servers
+
+- name: configure syncthing
+ hosts: syncthing_servers
+ tags: syncthing
+ roles:
+ - role: syncthing
+
+ - role: archive_job
+ archive_name: syncthing
+ archive_shell: '{{ syncthing_archive_shell }}'
+ tags: archive
+
+ - role: apache_vhost
+ apache_default_vhost: yes
+ apache_config: '{{ syncthing_apache_config }}'
+ tags: apache