aboutsummaryrefslogtreecommitdiff
path: root/ansible/host_vars
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-12-26 11:02:22 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2018-12-26 11:02:22 +0100
commit37e93cced23e0ee726309e841b1dac19e9ccdac4 (patch)
tree8c692652c0a5fdbd0d95510dabd58c95e1805541 /ansible/host_vars
parent72811f0f48cad07351ab5c5224616383a6920add (diff)
downloadinfra-37e93cced23e0ee726309e841b1dac19e9ccdac4.tar.gz
infra-37e93cced23e0ee726309e841b1dac19e9ccdac4.tar.bz2
infra-37e93cced23e0ee726309e841b1dac19e9ccdac4.tar.xz
infra-37e93cced23e0ee726309e841b1dac19e9ccdac4.zip
o Working borg setup.
Diffstat (limited to 'ansible/host_vars')
-rw-r--r--ansible/host_vars/birgitte/borg.yml15
-rw-r--r--ansible/host_vars/conflatorio/borg.yml7
-rw-r--r--ansible/host_vars/fuckaduck/borg.yml7
-rw-r--r--ansible/host_vars/malabaricus/borg-server.yml6
4 files changed, 31 insertions, 4 deletions
diff --git a/ansible/host_vars/birgitte/borg.yml b/ansible/host_vars/birgitte/borg.yml
index d3ba2fe..fb5058a 100644
--- a/ansible/host_vars/birgitte/borg.yml
+++ b/ansible/host_vars/birgitte/borg.yml
@@ -1,4 +1,11 @@
-borg_basedir: /disk1/borg
-borg_clients:
- conflatorio:
- state: present
+borg_client__state: present
+borg_client__patterns:
+ - -/proc
+ - -/dev
+ - -/run
+ - -/sys
+ - -/home/*/.cache
+ - -/pool0
+ - -/disk1
+ - -/disk2
+ - -/sda1
diff --git a/ansible/host_vars/conflatorio/borg.yml b/ansible/host_vars/conflatorio/borg.yml
new file mode 100644
index 0000000..c4165ff
--- /dev/null
+++ b/ansible/host_vars/conflatorio/borg.yml
@@ -0,0 +1,7 @@
+borg_client__state: present
+borg_client__patterns:
+ - -/proc
+ - -/dev
+ - -/run
+ - -/sys
+ - -/home/*/.cache
diff --git a/ansible/host_vars/fuckaduck/borg.yml b/ansible/host_vars/fuckaduck/borg.yml
new file mode 100644
index 0000000..c4165ff
--- /dev/null
+++ b/ansible/host_vars/fuckaduck/borg.yml
@@ -0,0 +1,7 @@
+borg_client__state: present
+borg_client__patterns:
+ - -/proc
+ - -/dev
+ - -/run
+ - -/sys
+ - -/home/*/.cache
diff --git a/ansible/host_vars/malabaricus/borg-server.yml b/ansible/host_vars/malabaricus/borg-server.yml
new file mode 100644
index 0000000..bb7a961
--- /dev/null
+++ b/ansible/host_vars/malabaricus/borg-server.yml
@@ -0,0 +1,6 @@
+borg_birgitte:
+ state: present
+borg_conflatorio:
+ state: present
+borg_fuckaduck:
+ state: present