2021-04-29 18:53:56 +02:00
|
|
|
---
|
2022-11-11 23:51:52 +01:00
|
|
|
- include_tasks: _common.yml
|
2022-11-16 11:30:49 +01:00
|
|
|
tags: ['prometheus_postgres_exporter']
|
2021-05-26 18:23:12 +02:00
|
|
|
|
2022-11-11 21:08:07 +01:00
|
|
|
- name: 'postgres exporter | configuration'
|
2021-10-29 18:23:10 +02:00
|
|
|
template:
|
|
|
|
src: conf/prometheus-postgres-exporter.j2
|
|
|
|
dest: /etc/default/prometheus-postgres-exporter
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0600
|
2021-11-19 14:34:30 +01:00
|
|
|
register: prometheus_postgres_exporter_configuration
|
2021-10-29 18:23:10 +02:00
|
|
|
notify:
|
2022-11-14 10:58:21 +01:00
|
|
|
- 'prometheus | postgres exporter | restart service'
|
2022-11-16 11:30:49 +01:00
|
|
|
tags: ['prometheus_postgres_exporter']
|