Skip to content

Commit d65b9d9

Browse files
authored
Merge pull request #32 from naseemkullah/replace-deprecated
replace | with is as per warning msg
2 parents 348c0c9 + 4276dda commit d65b9d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
recurse: yes
2323
owner: "{{ prometheus_exporters_common_user}}"
2424
group: "{{ prometheus_exporters_common_group }}"
25-
when: prometheus_node_exporter_updated | changed
25+
when: prometheus_node_exporter_updated is changed
2626

2727
- name: create symlink to the current release
2828
file:

vars/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
url: "{% if prometheus_node_exporter_url is not defined %}{% if prometheus_node_exporter_version | version_compare('0.13.0', '>=') %}https://github.com/prometheus/node_exporter/releases/download/v{{ prometheus_node_exporter_version }}/{{ prometheus_node_exporter_release_name }}.tar.gz{% else %}https://github.com/prometheus/node_exporter/releases/download/{{ prometheus_node_exporter_version }}/{{ prometheus_node_exporter_release_name }}.tar.gz{% endif %}{% else %}{{ prometheus_node_exporter_url }}{% endif %}"
1+
url: "{% if prometheus_node_exporter_url is not defined %}{% if prometheus_node_exporter_version is version_compare('0.13.0', '>=') %}https://github.com/prometheus/node_exporter/releases/download/v{{ prometheus_node_exporter_version }}/{{ prometheus_node_exporter_release_name }}.tar.gz{% else %}https://github.com/prometheus/node_exporter/releases/download/{{ prometheus_node_exporter_version }}/{{ prometheus_node_exporter_release_name }}.tar.gz{% endif %}{% else %}{{ prometheus_node_exporter_url }}{% endif %}"

0 commit comments

Comments
 (0)