From 78bceb35f79ccd0a0a6fff2e9347457d333252c5 Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Mon, 31 May 2021 15:45:06 +0200 Subject: [PATCH] change vars name --- tasks/node_exporter.yml | 2 +- tasks/postgresql_exporter.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/node_exporter.yml b/tasks/node_exporter.yml index 468f559..0a00b03 100644 --- a/tasks/node_exporter.yml +++ b/tasks/node_exporter.yml @@ -3,7 +3,7 @@ shell: curl --silent "https://api.github.com/repos/prometheus/node_exporter/releases/latest" | jq -r .tag_name | sed "s/v//" args: warn: false - register: prometheus_node_exporter_version + register: prometheus_node_exporter_latest_version run_once: true - name: 'prometheus | node exporter | download' diff --git a/tasks/postgresql_exporter.yml b/tasks/postgresql_exporter.yml index c1133a8..6beae07 100644 --- a/tasks/postgresql_exporter.yml +++ b/tasks/postgresql_exporter.yml @@ -3,7 +3,7 @@ shell: curl --silent "https://api.github.com/repos/prometheus-community/postgres_exporter/releases/latest" | jq -r .tag_name | sed "s/v//" args: warn: false - register: prometheus_postgres_exporter_version + register: prometheus_postgres_exporter_latest_version run_once: true - name: 'prometheus | postgres exporter | download'