prometheus.prometheus.node_exporter role – Prometheus Node Exporter
Note
This role is part of the prometheus.prometheus collection (version 0.8.0).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it use: ansible-galaxy collection install prometheus.prometheus
.
To use it in a playbook, specify: prometheus.prometheus.node_exporter
.
Entry point main
– Prometheus Node Exporter
Synopsis
Deploy prometheus node exporter using ansible
Parameters
Parameter |
Comments |
---|---|
Dictionary of users and password for basic authentication. Passwords are automatically hashed with bcrypt. |
|
Advanced Directory to install node_exporter binary Default: |
|
Enables the use of local packages instead of those distributed on github. The parameter may be set to a directory where the This overrides the node_exporter_version parameter |
|
URL of the node exporter binaries .tar.gz file Default: |
|
URL of the node exporter checksums file Default: |
|
List of disabled collectors. By default node_exporter disables collectors listed here. |
|
List of dicts defining additionally enabled collectors and their configuration. It adds collectors to those enabled by default. Default: |
|
Config for HTTP/2 support. Keys and values are the same as in node_exporter docs. |
|
Node exporter installation tasks gets skipped when set to true. Choices:
|
|
Advanced System group for node exporter Default: |
|
Advanced Node exporter user Default: |
|
Directory used by the Textfile Collector. To get permissions to write metrics in this directory, users must be in Note: More information in TROUBLESHOOTING.md guide. Default: |
|
Configuration for TLS authentication. Keys and values are the same as in node_exporter docs. |
|
Node exporter package version. Also accepts latest as parameter. Default: |
|
Address on which node exporter will listen Default: |
|
Path under which to expose metrics Default: |