An open API service indexing awesome lists of open source software.

https://github.com/francomile/ansible-role-prom-node-exporter

Ansible Role Prometheus Node Exporter
https://github.com/francomile/ansible-role-prom-node-exporter

ansible-role node-exporter prometheus-exporter

Last synced: 5 months ago
JSON representation

Ansible Role Prometheus Node Exporter

Awesome Lists containing this project

README

          

# Ansible Prometheus Node Exporter Role

[![Lint Ansible roles](https://github.com/francomile/ansible-role-prom-node-exporter/actions/workflows/ansible_lint.yml/badge.svg)](https://github.com/francomile/ansible-role-prom-node-exporter/actions/workflows/ansible_lint.yml)

[![Release role to Ansible Galaxy](https://github.com/francomile/ansible-role-prom-node-exporter/actions/workflows/push_to_galaxy.yml/badge.svg)](https://github.com/francomile/ansible-role-prom-node-exporter/actions/workflows/push_to_galaxy.yml)

## Actions of the Role

* Install Prometheus node_exporter

## Common Usage

```yaml
roles:
- {
role: francomile.prom-node-exporter,
prom_node_exporter_basedir: "/opt/node_exporter",
prom_node_exporter_version: "v1.8.1",
tags: ["node-exporter"]
}
```

## Run the playbook

```shell
ansible-playbook -i inventory playbook.yaml -t "node-exporter"
```