From a237de99831f4a4e83888d2c8ca47376628b0afb Mon Sep 17 00:00:00 2001 From: Bodo Schulz Date: Mon, 11 Dec 2023 08:11:35 +0100 Subject: [PATCH] update nginx_exporter role to support v1.0.0 --- roles/nginx_exporter/tasks/download.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nginx_exporter/tasks/download.yml b/roles/nginx_exporter/tasks/download.yml index dd6b7ea..0ccd63b 100644 --- a/roles/nginx_exporter/tasks/download.yml +++ b/roles/nginx_exporter/tasks/download.yml @@ -66,7 +66,7 @@ bodsch.scm.github_checksum: project: nginxinc repository: nginx-prometheus-exporter - checksum_file: "{{ 'sha256sums.txt' if nginx_version is version_compare('1.0', '<' ) else nginx_exporter_release.checksum_file }}" + checksum_file: "{{ 'sha256sums.txt' if nginx_exporter_version is version_compare('1.0', '<' ) else nginx_exporter_release.checksum_file }}" user: "{{ lookup('env', 'GH_USER') | default(omit) }}" password: "{{ lookup('env', 'GH_TOKEN') | default(omit) }}" architecture: "{{ ansible_architecture }}"