From 88dc5e0de048bba8f4cbb0b5e1c3bc473b46c4dd Mon Sep 17 00:00:00 2001 From: Aine Date: Sat, 18 Mar 2023 10:26:29 +0200 Subject: [PATCH] migrate prometheus-node-exporter's var --- group_vars/matrix_servers | 2 ++ requirements.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/group_vars/matrix_servers b/group_vars/matrix_servers index ef36a06c..45a3990d 100755 --- a/group_vars/matrix_servers +++ b/group_vars/matrix_servers @@ -3447,7 +3447,9 @@ prometheus_node_exporter_base_path: "{{ matrix_base_data_path }}/prometheus-node prometheus_node_exporter_uid: "{{ matrix_user_uid }}" prometheus_node_exporter_gid: "{{ matrix_user_gid }}" +# _server_fqn is the old var, _hostname - the new one. Seamless migration prometheus_node_exporter_server_fqn: "{{ matrix_server_fqn_matrix }}" +prometheus_node_exporter_hostname: "{{ prometheus_node_exporter_server_fqn }}" prometheus_node_exporter_container_network: "{{ matrix_docker_network }}" diff --git a/requirements.yml b/requirements.yml index 77f8186b..9f5719c9 100644 --- a/requirements.yml +++ b/requirements.yml @@ -31,7 +31,7 @@ version: 9b4b088c62b528b73a9a7c93d3109b091dd42ec6 - src: git+https://gitlab.com/etke.cc/roles/prometheus_node_exporter.git - version: v1.5.0-3 + version: v1.5.0-4 - src: git+https://gitlab.com/etke.cc/roles/prometheus_postgres_exporter.git version: v0.11.1-2