cloudalchemy / ansible-node-exporter

Provision basic metrics exporter for prometheus monitoring tool
MIT License
501 stars 270 forks source link

Add options to specify node-exporter user uid and gid #225

Closed pja237 closed 1 year ago

pja237 commented 3 years ago

Hello,

it would be very useful if we had an option to explicitly specify the uid/gid of the node-exp user. Our use case for this option is node-exporter access to nfs mounts (nodefilesystem* checks et al.). Since default node-exp uids/gids can vary from nfs client to client (depending on already created local users/groups) we would need to be able to "anchor" them to a specific ones in order to allow access on the nfs server.

This PR doesn't change the behavior of the role, only allows the new variables to be uncommented and set if a user needs this functionality. If there is anything else i should do re. this PR feel free to let me know.

br, Petar

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

SuperQ commented 1 year ago

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