2021-11-19 12:30:22 +01:00
|
|
|
---
|
2022-11-11 23:51:52 +01:00
|
|
|
- include_tasks: _common.yml
|
2022-11-16 11:30:49 +01:00
|
|
|
tags: ['prometheus_redis_exporter']
|
2022-01-17 16:41:33 +01:00
|
|
|
|
2022-11-11 21:08:07 +01:00
|
|
|
- name: 'redis exporter | configuration'
|
2021-11-19 12:30:22 +01:00
|
|
|
template:
|
|
|
|
src: conf/prometheus-redis-exporter.j2
|
|
|
|
dest: /etc/default/prometheus-redis-exporter
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0600
|
2021-11-19 14:34:30 +01:00
|
|
|
register: prometheus_redis_exporter_configuration
|
2021-11-19 12:30:22 +01:00
|
|
|
notify:
|
2021-11-19 14:34:30 +01:00
|
|
|
- 'prometheus | redis exporter | restart service'
|
2022-11-16 11:30:49 +01:00
|
|
|
tags: ['prometheus_redis_exporter']
|