change vars name

This commit is contained in:
Ludovic Cartier 2021-05-31 15:45:06 +02:00
parent daac4303b0
commit 78bceb35f7
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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'