Skip to content

Commit

Permalink
Merge pull request #32 from naseemkullah/replace-deprecated
Browse files Browse the repository at this point in the history
replace | with is as per warning msg
  • Loading branch information
UnderGreen authored Dec 10, 2018
2 parents 348c0c9 + 4276dda commit d65b9d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
recurse: yes
owner: "{{ prometheus_exporters_common_user}}"
group: "{{ prometheus_exporters_common_group }}"
when: prometheus_node_exporter_updated | changed
when: prometheus_node_exporter_updated is changed

- name: create symlink to the current release
file:
Expand Down
2 changes: 1 addition & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
@@ -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 %}"
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 comments on commit d65b9d9

Please sign in to comment.