Skip to content
Snippets Groups Projects
Unverified Commit 7eb009e0 authored by appliedprivacy's avatar appliedprivacy Committed by GitHub
Browse files

always import install.yml when using local dir (#162)

[patch] release
parent 2765dc51
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment