summaryrefslogtreecommitdiff
path: root/ansible/borg/borg-clients.yml
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2020-08-26 15:22:10 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2020-08-26 15:22:10 +0200
commit96e26da3dde19b492f7455437ea26e6c0df62442 (patch)
treee1c36aee76920574bb91cdb20052b640312a2d3b /ansible/borg/borg-clients.yml
parent9158fc8ff671707c686fcd40e13b06310112eada (diff)
downloadinfra-96e26da3dde19b492f7455437ea26e6c0df62442.tar.gz
infra-96e26da3dde19b492f7455437ea26e6c0df62442.tar.bz2
infra-96e26da3dde19b492f7455437ea26e6c0df62442.tar.xz
infra-96e26da3dde19b492f7455437ea26e6c0df62442.zip
borg.
Diffstat (limited to 'ansible/borg/borg-clients.yml')
-rw-r--r--ansible/borg/borg-clients.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/ansible/borg/borg-clients.yml b/ansible/borg/borg-clients.yml
new file mode 100644
index 0000000..a155bb7
--- /dev/null
+++ b/ansible/borg/borg-clients.yml
@@ -0,0 +1,29 @@
+- hosts:
+ - conflatorio
+ - birgitte
+ - arius
+ roles:
+ - role: borg-client
+ tags: borg-client,never
+ become: yes
+
+- hosts:
+ - conflatorio
+ - birgitte
+ - arius
+ roles:
+ - role: borg-job
+ tags: borg-job
+ become: yes
+ vars:
+ borg_job__target: malabaricus.vpn.trygvis.io
+ borg_job__username: borg
+ borg_job__name: home
+ borg_job__on_calendar: daily
+ borg_job__settings:
+ patterns: |
+ P sh
+ R /
+ + /home
+ - /home/*/ownCloud
+ - /home/*/Nextcloud