diff options
-rw-r--r-- | chaos-at-home/ch-phoebe.yml | 7 | ||||
-rw-r--r-- | inventory/host_vars/ch-phoebe.yml | 33 | ||||
-rw-r--r-- | inventory/hosts.ini | 1 |
3 files changed, 37 insertions, 4 deletions
diff --git a/chaos-at-home/ch-phoebe.yml b/chaos-at-home/ch-phoebe.yml index e902f57a..8234d499 100644 --- a/chaos-at-home/ch-phoebe.yml +++ b/chaos-at-home/ch-phoebe.yml @@ -14,7 +14,6 @@ - role: vm/host/network - role: installer/debian/base - role: installer/openbsd/base - - # - role: apt-repo/spreadspace - # - role: nginx/base - # - role: monitoring/prometheus/exporter + - role: apt-repo/spreadspace + - role: nginx/base + - role: monitoring/prometheus/exporter 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 |