diff --git a/tasks/mongodb_exporter.yml b/tasks/mongodb_exporter.yml index 5c9a6b4..3f43b20 100644 --- a/tasks/mongodb_exporter.yml +++ b/tasks/mongodb_exporter.yml @@ -1,6 +1,7 @@ --- - name: 'prometheus | mongodb exporter | get latest release from GitHub' shell: curl --silent "https://api.github.com/repos/percona/mongodb_exporter/releases/latest" | jq -r .tag_name | sed "s/v//" + warn: false register: prometheus_mongodb_exporter_version run_once: true diff --git a/tasks/mysqld_exporter.yml b/tasks/mysqld_exporter.yml index 0e2ddb7..6556871 100644 --- a/tasks/mysqld_exporter.yml +++ b/tasks/mysqld_exporter.yml @@ -1,6 +1,7 @@ --- - name: 'prometheus | mysqld exporter | get latest release from GitHub' shell: curl --silent "https://api.github.com/repos/prometheus/mysqld_exporter/releases/latest" | jq -r .tag_name | sed "s/v//" + warn: false register: prometheus_mysqld_exporter_version run_once: true diff --git a/tasks/node_exporter.yml b/tasks/node_exporter.yml index da5678d..1e9c287 100644 --- a/tasks/node_exporter.yml +++ b/tasks/node_exporter.yml @@ -1,6 +1,7 @@ --- - name: 'prometheus | node exporter | get latest release from GitHub' shell: curl --silent "https://api.github.com/repos/prometheus/node_exporter/releases/latest" | jq -r .tag_name | sed "s/v//" + warn: false register: prometheus_node_exporter_version run_once: true diff --git a/tasks/postgresql_exporter.yml b/tasks/postgresql_exporter.yml index 0ad972f..80281d1 100644 --- a/tasks/postgresql_exporter.yml +++ b/tasks/postgresql_exporter.yml @@ -1,6 +1,7 @@ --- - name: 'prometheus | postgres exporter | get latest release from GitHub' shell: curl --silent "https://api.github.com/repos/prometheus-community/postgres_exporter/releases/latest" | jq -r .tag_name | sed "s/v//" + warn: false register: prometheus_postgres_exporter_version run_once: true