This repository has been archived on 2021-04-04. You can view files and clone it, but cannot push or open issues/pull-requests.
2019-04-13 21:04:40 +02:00
|
|
|
---
|
|
|
|
- name: install prometheus node exporter
|
|
|
|
apt:
|
|
|
|
name: prometheus-node-exporter
|
|
|
|
state: present
|
2019-05-19 16:03:09 +02:00
|
|
|
|
|
|
|
- name: set node exporter config
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/default/prometheus-node-exporter
|
|
|
|
regexp: '^ARGS='
|
|
|
|
line: ARGS="--web.listen-address={{ vpn.v4.address }}:9100"
|
|
|
|
notify: restart-node-exporter
|