summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ch-apps.yml10
-rw-r--r--inventory/host_vars/ch-epimetheus.yml3
-rw-r--r--inventory/hosts.ini1
3 files changed, 11 insertions, 3 deletions
diff --git a/inventory/host_vars/ch-apps.yml b/inventory/host_vars/ch-apps.yml
index ed2aeb70..5fe4acd5 100644
--- a/inventory/host_vars/ch-apps.yml
+++ b/inventory/host_vars/ch-apps.yml
@@ -22,7 +22,7 @@ install:
system_lvm:
volumes:
- name: root
- size: 3G
+ size: 4G
filesystem: ext4
mountpoint: /
- name: var
@@ -63,12 +63,20 @@ apt_repo_components:
spreadspace_apt_repo_components:
- container
+ - prometheus
ssh_keys_root_extra:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZK9NBainiE0+A8pT8dbwlNZ0k0AZVhLTzUSo3YtKJt ZFS Backup syncoid@epimetheus
+prometheus_job_multitarget_blackbox__probe:
+ ch-mon:
+ - instance: "ssh-{{ inventory_hostname }}"
+ target: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets[inventory_hostname]) | ipaddr('address') }}:{{ ansible_port | default(22) }}"
+ module: ssh_banner
+
+
zfs_arc_size:
min: 512MB
max: 2GB
diff --git a/inventory/host_vars/ch-epimetheus.yml b/inventory/host_vars/ch-epimetheus.yml
index 8ac909ab..3a59b484 100644
--- a/inventory/host_vars/ch-epimetheus.yml
+++ b/inventory/host_vars/ch-epimetheus.yml
@@ -107,8 +107,7 @@ zfs_syncoid_sources:
'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"
+ report_prometheus_textfile_path: "/var/lib/prometheus-node-exporter/textfile-collector"
periodic:
schedule: "*-*-* 00,06,12,18:15:00"
timeout: 5h
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index cb0c0f6a..b24ebf96 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -409,6 +409,7 @@ ch-mon
ch-router
ch-phoebe
ch-prometheus
+ch-apps
[promzone-chaos-at-home:children]
chaos-at-home-ap
chaos-at-home-ups