2022-02-05 21:32:54 +01:00
|
|
|
---
|
|
|
|
|
2022-11-24 10:33:30 +01:00
|
|
|
- block:
|
|
|
|
- when: matrix_prometheus_postgres_exporter_enabled | bool and matrix_prometheus_postgres_exporter_metrics_proxying_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/inject_into_nginx_proxy.yml"
|
2021-05-27 21:13:29 +02:00
|
|
|
tags:
|
2022-11-23 14:52:58 +01:00
|
|
|
- setup-all
|
|
|
|
- setup-nginx-proxy
|
2021-05-27 21:13:29 +02:00
|
|
|
|
2022-11-24 10:33:30 +01:00
|
|
|
- block:
|
|
|
|
- when: matrix_prometheus_postgres_exporter_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
|
|
|
|
|
|
|
- when: not matrix_prometheus_postgres_exporter_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
2021-05-27 21:13:29 +02:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-prometheus-postgres-exporter
|