Skip to content

Commit

Permalink
update nginx_exporter role to support v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bodsch committed Dec 11, 2023
1 parent 3c115e2 commit a237de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/nginx_exporter/tasks/download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit a237de9

Please sign in to comment.