Skip to content
Snippets Groups Projects
Unverified Commit 70f1411a authored by Ben Kochie's avatar Ben Kochie
Browse files

Use localhost to fetch checksums

Avoid fetching checksums on every node by delegating the checksum fetch
to localhost.

Fixes: https://github.com/cloudalchemy/ansible-node-exporter/issues/165



[fix]

Signed-off-by: default avatarBen Kochie <superq@gmail.com>
parent 0460c128
No related branches found
No related tags found
No related merge requests found
...@@ -107,4 +107,5 @@ ...@@ -107,4 +107,5 @@
with_items: "{{ _checksums }}" with_items: "{{ _checksums }}"
when: when:
- "('linux-' + go_arch + '.tar.gz') in item" - "('linux-' + go_arch + '.tar.gz') in item"
delegate_to: localhost
when: node_exporter_binary_local_dir | length == 0 when: node_exporter_binary_local_dir | length == 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment