mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-10-23 03:46:59 +02:00
17 lines
500 B
YAML
17 lines
500 B
YAML
---
|
|
|
|
- name: render /etc/prometheus/tls/config.yml
|
|
template:
|
|
src: prometheus-node-exporter-webconfig.yml.j2
|
|
dest: /etc/prometheus/tls/config.yml
|
|
owner: prometheus
|
|
group: prometheus
|
|
notify: restart prometheus-node-exporter
|
|
|
|
- name: render /etc/default/prometheus-node-exporter
|
|
template:
|
|
src: prometheus-node-exporter.default.j2
|
|
dest: /etc/default/prometheus-node-exporter
|
|
vars:
|
|
args: "{{ prometheus_node_exporter_args }}"
|
|
notify: restart prometheus-node-exporter
|