Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
always import install.yml when using local dir (#162)
Browse files Browse the repository at this point in the history
[patch] release
  • Loading branch information
appliedprivacy authored Jun 18, 2020
1 parent 2765dc5 commit 7eb009e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

- import_tasks: install.yml
become: true
when: (not __node_exporter_is_installed.stat.exists) or (__node_exporter_current_version_output.stderr_lines[0].split(" ")[2] != node_exporter_version)
when:
( not __node_exporter_is_installed.stat.exists ) or
( __node_exporter_current_version_output.stderr_lines[0].split(" ")[2] != node_exporter_version ) or
( node_exporter_binary_local_dir | length > 0 )
tags:
- node_exporter_install

Expand Down

0 comments on commit 7eb009e

Please sign in to comment.