summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-greenbone.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-01-26 12:52:19 +0100
committerChristian Pointner <equinox@spreadspace.org>2024-01-26 12:52:19 +0100
commit8a53c60099fde1bb6f8db25faafcf8694481b562 (patch)
treeccff1a4896ba552a05607e4f80889bf03661a68b /inventory/host_vars/ch-greenbone.yml
parentwhawty/auth/store: rsync is only needed if sync is enabled (diff)
greenbone: clean up old containers on update and add machine to monitoring
Diffstat (limited to 'inventory/host_vars/ch-greenbone.yml')
-rw-r--r--inventory/host_vars/ch-greenbone.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-greenbone.yml b/inventory/host_vars/ch-greenbone.yml
index d6ad35ce..6ca3c773 100644
--- a/inventory/host_vars/ch-greenbone.yml
+++ b/inventory/host_vars/ch-greenbone.yml
@@ -36,6 +36,19 @@ network:
ntp_variant: systemd-timesyncd
+spreadspace_apt_repo_components:
+ - prometheus
+
+
+prometheus_job_multitarget_blackbox__probe:
+ ch-mon:
+ - instance: "ssh-{{ inventory_hostname }}"
+ target: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}"
+ module: ssh_banner
+ - instance: "https-greenbone.chaos-at-home.org"
+ target: "https://{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}"
+ module: http_tls_2xx
+
docker_pkg_provider: docker-com
docker_plugins: