summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chaos-at-home/ch-atlas.yml7
-rw-r--r--inventory/host_vars/ch-atlas.yml16
-rw-r--r--inventory/hosts.ini1
3 files changed, 24 insertions, 0 deletions
diff --git a/chaos-at-home/ch-atlas.yml b/chaos-at-home/ch-atlas.yml
index 35200585..d6025c95 100644
--- a/chaos-at-home/ch-atlas.yml
+++ b/chaos-at-home/ch-atlas.yml
@@ -8,9 +8,16 @@
- role: core/zsh
- role: core/ntp
- role: core/cpu-microcode
+
+- name: Payload Setup
+ hosts: ch-atlas
+ roles:
- role: storage/zfs/pools
- role: storage/zfs/sanoid
- role: vm/host/base
- role: vm/host/network
- role: installer/debian/base
- role: installer/openbsd/base
+ - role: apt-repo/spreadspace
+ - role: nginx/base
+ - role: monitoring/prometheus/exporter
diff --git a/inventory/host_vars/ch-atlas.yml b/inventory/host_vars/ch-atlas.yml
index acc092f6..de2383e7 100644
--- a/inventory/host_vars/ch-atlas.yml
+++ b/inventory/host_vars/ch-atlas.yml
@@ -30,6 +30,10 @@ apt_repo_components:
- contrib ## for zfs
- non-free ## for microcode updates
+spreadspace_apt_repo_components:
+ - main
+ - prometheus
+
installer_storage:
type: lvm
@@ -53,3 +57,15 @@ zfs_sanoid_modules:
use_template: production
recursive: yes
process_children_only: yes
+
+
+
+prometheus_exporter_node_textfile_collector_scripts:
+ - deleted-libraries
+ - smartmon
+
+prometheus_job_multitarget_blackbox__probe:
+ ch-mon:
+ - instance: "ssh-{{ inventory_hostname }}"
+ target: "{{ network.primary.address | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}"
+ module: ssh_banner
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index 2c58a812..cf867c90 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -420,6 +420,7 @@ ch-prometheus
ch-epimetheus
ch-apps
ch-sensors1
+ch-atlas
ch-pan
ch-mimas
[promzone-chaos-at-home:children]