summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-epimetheus.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-01-13 22:43:31 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-01-13 22:43:31 +0100
commitc12a7f4fb6cb1c2cd6ec415f9558d7455126f51f (patch)
tree20985fb9016a934a30418ce88b7a66a823620e55 /inventory/host_vars/ch-epimetheus.yml
parentch-apps: basic install (diff)
enable syncoid-based backups for ch-apps data dir
Diffstat (limited to 'inventory/host_vars/ch-epimetheus.yml')
-rw-r--r--inventory/host_vars/ch-epimetheus.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-epimetheus.yml b/inventory/host_vars/ch-epimetheus.yml
index ee26cc65..8ac909ab 100644
--- a/inventory/host_vars/ch-epimetheus.yml
+++ b/inventory/host_vars/ch-epimetheus.yml
@@ -104,6 +104,18 @@ zfs_syncoid_sources:
nvme/vm:
recursive: yes
skip_parent: yes
+ 'ch-apps':
+ ssh_hostname: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets['ch-apps']) | ipaddr('address') }}"
+ ssh_port: "{{ hostvars['ch-apps'].ansible_port }}"
+ ## TODO: enable this once ch-apps is part of prometheus
+ # report_prometheus_textfile_path: "/var/lib/prometheus-node-exporter/textfile-collector"
+ periodic:
+ schedule: "*-*-* 00,06,12,18:15:00"
+ timeout: 5h
+ paths:
+ storage:
+ recursive: yes
+ skip_parent: yes
'ch-equinox-t450s':
ssh_hostname: 192.168.28.139
ssh_port: 222