update conditions for postgresql exporter
This commit is contained in:
parent
1f15b298a1
commit
7b5a036781
@ -31,7 +31,8 @@
|
|||||||
user={{ prometheus_postgres_exporter_user }}
|
user={{ prometheus_postgres_exporter_user }}
|
||||||
password={{ prometheus_postgres_exporter_password }}
|
password={{ prometheus_postgres_exporter_password }}
|
||||||
when:
|
when:
|
||||||
- prometheus_postgres_exporter_enable == "true"
|
- prometheus_postgres_exporter_user is defined
|
||||||
|
- prometheus_postgres_exporter_password is defined
|
||||||
register: prometheus_postgres_exporter_configuration
|
register: prometheus_postgres_exporter_configuration
|
||||||
|
|
||||||
- name: 'prometheus | postgresql exporter | configuration'
|
- name: 'prometheus | postgresql exporter | configuration'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user