prometheus/tasks/exporter/postgresql.yml
2022-11-11 23:51:52 +01:00

15 lines
390 B
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
- include_tasks: _common.yml
tags: ['prometheus_postgres']
- name: 'postgres exporter | configuration'
template:
src: conf/prometheus-postgres-exporter.j2
dest: /etc/default/prometheus-postgres-exporter
owner: root
group: root
mode: 0600
register: prometheus_postgres_exporter_configuration
notify:
- 'prometheus | postgres exporter | restart service'