From d3516705ca7c64cab36e17fa81023861fcdd35ff Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 19 Nov 2022 16:36:52 +0100 Subject: ch-mimas: external_ip --- inventory/host_vars/ch-epimetheus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inventory/host_vars/ch-epimetheus.yml') diff --git a/inventory/host_vars/ch-epimetheus.yml b/inventory/host_vars/ch-epimetheus.yml index 0e583110..a4e233fa 100644 --- a/inventory/host_vars/ch-epimetheus.yml +++ b/inventory/host_vars/ch-epimetheus.yml @@ -139,7 +139,7 @@ zfs_syncoid_sources: recursive: yes skip_parent: yes 'ch-mimas': - ssh_hostname: "116.203.212.131" + ssh_hostname: "{{ hostvars['ch-mimas'].external_ip }}" ssh_port: "{{ hostvars['ch-mimas'].ansible_port }}" report_prometheus_textfile_path: "/var/lib/prometheus-node-exporter/textfile-collector" periodic: -- cgit v1.2.3