summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chaos-at-home/ch-epimetheus.yml3
-rw-r--r--inventory/host_vars/ch-epimetheus.yml23
-rw-r--r--inventory/hosts.ini1
3 files changed, 27 insertions, 0 deletions
diff --git a/chaos-at-home/ch-epimetheus.yml b/chaos-at-home/ch-epimetheus.yml
index d8a95940..5900ce3d 100644
--- a/chaos-at-home/ch-epimetheus.yml
+++ b/chaos-at-home/ch-epimetheus.yml
@@ -8,6 +8,9 @@
- role: core/zsh
- role: core/ntp
- role: core/cpu-microcode
+ - role: apt-repo/spreadspace
+ - role: nginx/base
+ - role: monitoring/prometheus/exporter
- role: network/wakeonlan
- role: storage/luks/volumes
- role: storage/zfs/pools
diff --git a/inventory/host_vars/ch-epimetheus.yml b/inventory/host_vars/ch-epimetheus.yml
index f6e05e22..d339bb1a 100644
--- a/inventory/host_vars/ch-epimetheus.yml
+++ b/inventory/host_vars/ch-epimetheus.yml
@@ -24,6 +24,29 @@ apt_repo_components:
- non-free ## for microcode updates
+spreadspace_apt_repo_components:
+ - prometheus
+
+prometheus_exporter_node_textfile_collector_scripts:
+ - deleted-libraries
+ - smartmon
+
+prometheus_exporters_extra:
+ - ssl
+
+prometheus_job_multitarget_blackbox__probe:
+ ch-mon:
+ - instance: "ssh-{{ inventory_hostname }}"
+ target: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address') }}:{{ ansible_port | default(22) }}"
+ module: ssh_banner
+
+prometheus_job_multitarget_ssl__probe:
+ ch-epimetheus:
+ - instance: "sslcert-prometheus-{{ inventory_hostname }}"
+ target: "/etc/ssl/prometheus/**/*.pem"
+ module: file
+
+
luks_volumes:
crypto-sata0:
passphrase: "{{ vault_luks_volumes['crypto-sata0'].passphrase }}"
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index a3ed84d0..e530a847 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -409,6 +409,7 @@ ch-mon
ch-router
ch-phoebe
ch-prometheus
+ch-epimetheus
ch-apps
ch-sensors1
[promzone-chaos-at-home:children]