summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-12-27 15:25:28 +0100
committerChristian Pointner <equinox@spreadspace.org>2021-12-27 15:25:28 +0100
commitc87e6b70779bc406bbd4e19378d2b042909e79b5 (patch)
tree9834d54bfcc3838894b2bd6b63e32f1da91cf060 /inventory
parentch-phoebe finalize vmhost setup (diff)
add phoebe to preliminary promzone
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ch-phoebe.yml33
-rw-r--r--inventory/hosts.ini1
2 files changed, 34 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-phoebe.yml b/inventory/host_vars/ch-phoebe.yml
index e87b1a42..8627f34a 100644
--- a/inventory/host_vars/ch-phoebe.yml
+++ b/inventory/host_vars/ch-phoebe.yml
@@ -28,6 +28,39 @@ apt_repo_components:
- non-free ## for microcode updates
+spreadspace_apt_repo_components:
+ - main
+ - prometheus
+
+prometheus_exporter_node_textfile_collector_scripts:
+ - deleted-libraries
+ - smartmon
+
+prometheus_exporters_extra:
+ - ssl
+ - ipmi
+
+prometheus_exporter_ipmi_modules:
+ default:
+ collectors:
+ - bmc
+ - ipmi
+ - chassis
+ - sel
+
+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-phoebe:
+ - instance: "sslcert-prometheus-{{ inventory_hostname }}"
+ target: "/etc/ssl/prometheus/**/*.pem"
+ module: file
+
+
installer_storage:
type: lvm
vg: "{{ host_name }}"
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index c990f6f5..a159aaf3 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -425,6 +425,7 @@ ch-mon
[promzone-chaos-at-home]
ch-router
ch-testvm-prometheus
+ch-phoebe
ch-prometheus
[promzone-chaos-at-home:children]
chaos-at-home-ap