ansible-node-exporter icon indicating copy to clipboard operation
ansible-node-exporter copied to clipboard

Download and unpack node_exporter binary on remote host.

Open amirhbv opened this issue 5 years ago • 6 comments

Download and unpack node_exporter binary on remote host.

amirhbv avatar Oct 08 '20 13:10 amirhbv

I am on edge with this. On one hand, this allows faster role execution in situations where remote node has a faster internet connection. On the other, it can add unnecessary downloads in large environments where role execution is always done from one deployer host. Plus in the latter scenario, it pollutes the target node instead of the deployer. I also have concerns about disconnected environments, where target nodes don't have access to internet or this access is heavily limited.

paulfantom avatar Oct 08 '20 13:10 paulfantom

If we did add this, we would need a switch to enable/disable it.

Part of the reason we have it this way in the first place was to avoid download from github rate limits. Especially for nodes behind NAT.

SuperQ avatar Oct 08 '20 13:10 SuperQ

@paulfantom Yeah, you're right. My case was installing node exporter on more than 100 servers and uploading to all of them was annoying. @SuperQ Having a switch for this is a better idea. I'm beginner in ansible, but i'll try adding the switch. :))

amirhbv avatar Oct 08 '20 14:10 amirhbv

I would love a switch and documentation on how to use it, because some of my servers are not allowed on the internet.

dns2utf8 avatar Nov 11 '20 18:11 dns2utf8

@amirhbv Are you still working on this?

I am glad to continue it if you don't mind

zhan9san avatar Jun 27 '22 11:06 zhan9san

@amirhbv Are you still working on this?

I am glad to continue it if you don't mind

No, I'm not but it's okay if you want to

amirhbv avatar Jun 27 '22 13:06 amirhbv

This role has been deprecated in favor of a the prometheus-community/ansible collection.

SuperQ avatar Mar 06 '23 15:03 SuperQ