diff --git a/tasks/mongodb_exporter.yml b/tasks/mongodb_exporter.yml index 3f43b20..1770694 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//" + args: warn: false register: prometheus_mongodb_exporter_version run_once: true diff --git a/tasks/mysqld_exporter.yml b/tasks/mysqld_exporter.yml index 6556871..79a1080 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//" + args: warn: false register: prometheus_mysqld_exporter_version run_once: true diff --git a/tasks/node_exporter.yml b/tasks/node_exporter.yml index 1e9c287..057d324 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//" + args: warn: false register: prometheus_node_exporter_version run_once: true diff --git a/tasks/postgresql_exporter.yml b/tasks/postgresql_exporter.yml index 80281d1..18e84cb 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//" + args: warn: false register: prometheus_postgres_exporter_version run_once: true