diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-01-26 12:52:19 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-01-26 12:52:19 +0100 |
commit | 8a53c60099fde1bb6f8db25faafcf8694481b562 (patch) | |
tree | ccff1a4896ba552a05607e4f80889bf03661a68b /inventory | |
parent | whawty/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')
-rw-r--r-- | inventory/host_vars/ch-greenbone.yml | 13 | ||||
-rw-r--r-- | inventory/hosts.ini | 1 |
2 files changed, 14 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: diff --git a/inventory/hosts.ini b/inventory/hosts.ini index 0bc9c91d..ecc08c3b 100644 --- a/inventory/hosts.ini +++ b/inventory/hosts.ini @@ -484,6 +484,7 @@ ch-pan ch-mimas ch-iot ch-http-proxy +ch-greenbone [promzone-chaos-at-home:children] chaos-at-home-ap chaos-at-home-ups |