summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-repo.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/ch-repo.yml')
-rw-r--r--inventory/host_vars/ch-repo.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/inventory/host_vars/ch-repo.yml b/inventory/host_vars/ch-repo.yml
index 8ff107a5..de952d74 100644
--- a/inventory/host_vars/ch-repo.yml
+++ b/inventory/host_vars/ch-repo.yml
@@ -76,9 +76,11 @@ approx_backends:
prometheus_job_multitarget_blackbox__probe:
ch-mon:
- - instance: "ssh-{{ inventory_hostname }}"
+ - svc_kind: ssh
+ svc_instance: "{{ 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: "http-apt.chaos-at-home.org"
+ - svc_kind: http
+ svc_instance: "apt.chaos-at-home.org"
target: "http://{{ approx_hostname }}"
module: "http_2xx"