docs: Add changelog and update role documentation
This commit is contained in:
37
roles/node_exporter/README.md
Normal file
37
roles/node_exporter/README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Node Exporter
|
||||
|
||||
This role installs and configures the Prometheus Node Exporter on target hosts.
|
||||
|
||||
## Requirements
|
||||
|
||||
None.
|
||||
|
||||
## Role Variables
|
||||
|
||||
Available variables are listed below, along with default values (see `vars/main.yaml`):
|
||||
|
||||
| Variable | Default | Description |
|
||||
|----------|---------|-------------|
|
||||
| `version` | `latest` | The version of Node Exporter to install. |
|
||||
| `bind_port` | `9100` | The port Node Exporter will listen on. |
|
||||
| `serve` | `localhost` | The address to bind to. |
|
||||
| `options` | `""` | Additional command-line options for Node Exporter. |
|
||||
| `bin_path` | `/usr/local/bin/node_exporter` | Installation path for the binary. |
|
||||
|
||||
## Dependencies
|
||||
|
||||
None.
|
||||
|
||||
## Example Playbook
|
||||
|
||||
```yaml
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: node_exporter
|
||||
vars:
|
||||
version: "1.5.0"
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
Reference in New Issue
Block a user